File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -829,13 +829,7 @@ public void test19_EndToEndViaChart() throws Exception {
829
829
if (operator1 != null ) {
830
830
operator1 .destroy ();
831
831
}
832
- crdCmd =
833
- "cd "
834
- + monitoringExporterEndToEndDir
835
- + " && docker run --rm -v "
836
- + monitoringExporterEndToEndDir
837
- + "pvDir:/tt -v $PWD/util:/util nginx /util/clean-pv.sh" ;
838
- ExecCommand .exec (crdCmd );
832
+ deletePvDir ();
839
833
}
840
834
testCompletedSuccessfully = true ;
841
835
logger .info ("SUCCESS - " + testMethodName );
@@ -1183,8 +1177,8 @@ private static void deletePvDir() throws Exception {
1183
1177
ExecCommand .exec (crdCmd );
1184
1178
StringBuffer removeDir = new StringBuffer ();
1185
1179
logger .info ("Cleaning PV dir " + pvDir );
1186
-
1187
1180
removeDir .append ("rm -rf " ).append (pvDir ).append (" && " );
1181
+ ExecCommand .exec (removeDir .toString ());
1188
1182
}
1189
1183
1190
1184
/**
You can’t perform that action at this time.
0 commit comments