Skip to content

Commit

Permalink
cnf network: modify mnp tests (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaggapa authored Jan 20, 2025
1 parent 1e7cc65 commit 66d008a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ var _ = Describe("Multi-NetworkPolicy : Bond CNI", Ordered, Label("bondcnioversr
Expect(err).ToNot(HaveOccurred(), "Failed to remove SRIOV configuration and MCP stable")

By("Delete test namespace")
err = tNs1.Delete()
err = tNs1.DeleteAndWait(1 * time.Minute)
Expect(err).ToNot(HaveOccurred(), "Failed to delete test namespace")
err = tNs2.Delete()
err = tNs2.DeleteAndWait(1 * time.Minute)
Expect(err).ToNot(HaveOccurred(), "Failed to delete test namespace")
})

Expand Down
4 changes: 2 additions & 2 deletions tests/cnf/core/network/policy/tests/multinetpolicy_ipvlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ var _ = Describe("Multi-NetworkPolicy : IPVLAN CNI", Ordered, Label("ipvlancni")
Expect(err).ToNot(HaveOccurred(), "failed to clean test NADs in test namespace")

By("Delete test namespace")
err = tNs1.Delete()
err = tNs1.DeleteAndWait(1 * time.Minute)
Expect(err).ToNot(HaveOccurred(), "Failed to delete test namespace")
err = tNs2.Delete()
err = tNs2.DeleteAndWait(1 * time.Minute)
Expect(err).ToNot(HaveOccurred(), "Failed to delete test namespace")
})

Expand Down

0 comments on commit 66d008a

Please sign in to comment.