Skip to content

Commit b3610e8

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 05643fc commit b3610e8

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
@@ -176,11 +176,11 @@ var _ = Describe("controller", func() {
176176
Expect(ctrl.Watch(src, evthdl)).To(Equal(expected))
177177
})
178178

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

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

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

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

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

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

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

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

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

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)