Skip to content

Commit ef12436

Browse files
committed
use krun.sh to create pv dir
1 parent 3476919 commit ef12436

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/PersistentVolume.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,15 @@ public PersistentVolume(String dirPath, Map pvMap) throws Exception {
2323
this.pvMap = pvMap;
2424

2525
String cmd =
26+
/* BaseTest.getProjectRoot()
27+
+ "/src/integration-tests/bash/job.sh \"mkdir -p "
28+
+ dirPath
29+
+ "\""; */
30+
2631
BaseTest.getProjectRoot()
27-
+ "/src/integration-tests/bash/job.sh \"mkdir -p "
32+
+ "/src/integration-tests/bash/krun.sh -m "
33+
+ BaseTest.getPvRoot()
34+
+ ":/scratch -c \"mkdir -p "
2835
+ dirPath
2936
+ "\"";
3037
ExecResult result = ExecCommand.exec(cmd);

0 commit comments

Comments
 (0)