Skip to content

Commit

Permalink
e2e reorder cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Karol Szwaj <[email protected]>
  • Loading branch information
cnvergence committed Dec 17, 2024
1 parent 117910b commit 08d2d26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/kube-ovn/ipam/ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,18 +551,15 @@ var _ = framework.Describe("[group:ipam]", func() {
framework.ExpectMAC(pod.Annotations[util.MacAddressAnnotation])
framework.ExpectHaveKeyWithValue(pod.Annotations, util.RoutedAnnotation, "true")
}

ginkgo.DeferCleanup(func() {
ginkgo.By("Deleting statefulset " + testStsName)
stsClient.DeleteSync(testStsName)
})

ginkgo.DeferCleanup(func() {
ginkgo.By("Deleting ippools")
ippoolClient.DeleteSync(testIPPool1Name)
ippoolClient.DeleteSync(testIPPool2Name)
})

ginkgo.DeferCleanup(func() {
ginkgo.By("Deleting subnet " + testSubnetName)
subnetClient.DeleteSync(testSubnetName)
})
Expand Down

0 comments on commit 08d2d26

Please sign in to comment.