Skip to content

Commit

Permalink
fix the test, we never fail with "Ignore"
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Horacek <[email protected]>
  • Loading branch information
phoracek committed Mar 12, 2020
1 parent 156b9c0 commit e6b9327
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/pods_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ var _ = Describe("Pods", func() {
}, timeout, pollingInterval).Should(BeTrue(), "failed to apply the new pod object")
})

It("should fail to create a pod on a regular namespace when mac pool is down", func() {
testCriticalNamespace(OtherTestNamespace, "not-critical", BeFalse())
// We never fail thanks to the "Ignore" failure policy
It("should create a pod on a regular namespace when mac pool is down", func() {
testCriticalNamespace(OtherTestNamespace, "not-critical", BeTrue())
})

It("should create a pod on a critical k8s namespaces when mac pool is down", func() {
Expand Down

0 comments on commit e6b9327

Please sign in to comment.