FrankYang0529 commented on code in PR #752:
URL: https://github.com/apache/yunikorn-k8shim/pull/752#discussion_r1443731225


##########
test/e2e/bin_packing/bin_packing_test.go:
##########
@@ -198,8 +198,9 @@ var _ = Describe("", func() {
                        
tests.LogTestClusterInfoWrapper(testDescription.FailureMessage(), []string{ns})
                        
tests.LogYunikornContainer(testDescription.FailureMessage())
                }
+
                By("Tear down namespace: " + ns)
-               err := kClient.DeleteNamespace(ns)
+               err := kClient.TearDownNamespace(ns)

Review Comment:
   In `Verify_BinPacking_Node_Order_Memory`, we create jobs without waiting for 
pod terminating. It's better to use `TearDownNamespace` to cleanup workload 
before removing the namespace. Do we want to create another JIRA or just fix it 
in this PR?
   
   
https://github.com/apache/yunikorn-k8shim/blob/3e59ddcdd917c292635c6be0ddb8170356ae6511/test/e2e/bin_packing/bin_packing_test.go#L171-L192



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to