Skip to content

Commit 3e6b91c

Browse files
committed
add clean in afterAll for functest
Signed-off-by: Sebastian Sch <[email protected]>
1 parent 254c895 commit 3e6b91c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/conformance/tests/test_sriov_operator.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ func init() {
6868
}
6969
}
7070

71-
var _ = Describe("[sriov] operator", func() {
71+
var _ = Describe("[sriov] operator", Ordered, func() {
72+
AfterAll(func() {
73+
err := namespaces.Clean(operatorNamespace, namespaces.Test, clients, discovery.Enabled())
74+
Expect(err).ToNot(HaveOccurred())
75+
WaitForSRIOVStable()
76+
})
77+
7278
Describe("No SriovNetworkNodePolicy", func() {
7379
Context("SR-IOV network config daemon can be set by nodeselector", func() {
7480
// 26186

0 commit comments

Comments
 (0)