@@ -95,17 +95,15 @@ public void cleanupOperatorAndDomain() throws Exception {
95
95
operator20 .destroy ();
96
96
}
97
97
ExecResult result = cleanup ();
98
- TestUtils .ExecAndPrintLog ("helm del --purge " + OP_DEP_NAME );
99
98
TestUtils .ExecAndPrintLog (
100
- "kubectl delete pods,services,deployments,replicasets,configmaps,services --all --grace-period=0 --force -- ignore-not-found -n "
99
+ "kubectl delete pods,services,deployments,replicasets,configmaps,services --all --ignore-not-found -n "
101
100
+ OP_NS );
102
101
TestUtils .ExecAndPrintLog (
103
- "kubectl delete pods,services,deployments,replicasets,configmaps,services --all --grace-period=0 --force -- ignore-not-found -n "
102
+ "kubectl delete pods,services,deployments,replicasets,configmaps,services --all --ignore-not-found -n "
104
103
+ DOM_NS );
105
- TestUtils .ExecAndPrintLog (
106
- "kubectl delete crd --all --grace-period=0 --ignore-not-found --force" );
107
- TestUtils .ExecAndPrintLog ("kubectl delete ns " + OP_NS + " --ignore-not-found --force" );
108
- TestUtils .ExecAndPrintLog ("kubectl delete ns " + DOM_NS + " --ignore-not-found --force" );
104
+ TestUtils .ExecAndPrintLog ("kubectl delete crd --all --ignore-not-found" );
105
+ TestUtils .ExecAndPrintLog ("kubectl delete ns " + OP_NS + " --ignore-not-found" );
106
+ TestUtils .ExecAndPrintLog ("kubectl delete ns " + DOM_NS + " --ignore-not-found" );
109
107
TestUtils .ExecAndPrintLog ("kubectl get all --all-namespaces" );
110
108
logger .log (Level .INFO , "+++++++++++++++Done AfterTest cleanup+++++++++++++++++++++" );
111
109
}
0 commit comments