Skip to content

Commit 471829f

Browse files
committed
🏃 Mark pending tests as pending
This marks tests that have a "// TODO: write this" or similar as pending tests, so that we can keep track of them.
1 parent 093004e commit 471829f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pkg/internal/controller/controller_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ var _ = Describe("controller", func() {
177177
Expect(ctrl.Watch(src, evthdl)).To(Equal(expected))
178178
})
179179

180-
It("should inject dependencies into the Reconciler", func() {
180+
PIt("should inject dependencies into the Reconciler", func() {
181181
// TODO(community): Write this
182182
})
183183

184-
It("should return an error if there is an error injecting into the Reconciler", func() {
184+
PIt("should return an error if there is an error injecting into the Reconciler", func() {
185185
// TODO(community): Write this
186186
})
187187

@@ -300,7 +300,7 @@ var _ = Describe("controller", func() {
300300
close(done)
301301
})
302302

303-
It("should forget an item if it is not a Request and continue processing items", func() {
303+
PIt("should forget an item if it is not a Request and continue processing items", func() {
304304
// TODO(community): write this test
305305
})
306306

@@ -392,19 +392,19 @@ var _ = Describe("controller", func() {
392392
Eventually(func() int { return ctrl.Queue.NumRequeues(request) }).Should(Equal(0))
393393
})
394394

395-
It("should forget the Request if Reconciler is successful", func() {
395+
PIt("should forget the Request if Reconciler is successful", func() {
396396
// TODO(community): write this test
397397
})
398398

399-
It("should return if the queue is shutdown", func() {
399+
PIt("should return if the queue is shutdown", func() {
400400
// TODO(community): write this test
401401
})
402402

403-
It("should wait for informers to be synced before processing items", func() {
403+
PIt("should wait for informers to be synced before processing items", func() {
404404
// TODO(community): write this test
405405
})
406406

407-
It("should create a new go routine for MaxConcurrentReconciles", func() {
407+
PIt("should create a new go routine for MaxConcurrentReconciles", func() {
408408
// TODO(community): write this test
409409
})
410410

pkg/source/source_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ var _ = Describe("Source", func() {
206206
})
207207

208208
// TODO(pwittrock): Write this test
209-
Context("for a Foo CRD resource", func() {
209+
PContext("for a Foo CRD resource", func() {
210210
It("should provide Foo Events", func() {
211211

212212
})

0 commit comments

Comments
 (0)