File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator/utils Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -869,18 +869,21 @@ protected void createPV() throws Exception {
869
869
870
870
pvMap .values ().removeIf (Objects ::isNull );
871
871
872
+ // k8s job mounts PVROOT /scratch/<usr>/wl_k8s_test_results to /scratch, create PV/PVC
873
+ new PersistentVolume ("/scratch/acceptance_test_pv/persistentVolume-" + domainUid , pvMap );
874
+
872
875
String cmd =
873
876
BaseTest .getProjectRoot ()
874
877
+ "/src/integration-tests/bash/krun.sh -m "
875
878
// + BaseTest.getPvRoot()
876
879
+ "/scratch:/scratch -c \" ls -ltr /scratch "
877
880
+ BaseTest .getPvRoot ()
881
+ + "/scratch/acceptance_test_pv/persistentVolume-"
882
+ + domainUid
878
883
+ "\" " ;
879
884
logger .info ("Check PVROOT by running " + cmd );
880
885
ExecResult result = TestUtils .exec (cmd );
881
886
logger .info ("ls -ltr output " + result .stdout ());
882
- // k8s job mounts PVROOT /scratch/<usr>/wl_k8s_test_results to /scratch, create PV/PVC
883
- new PersistentVolume ("/scratch/acceptance_test_pv/persistentVolume-" + domainUid , pvMap );
884
887
}
885
888
886
889
/**
You can’t perform that action at this time.
0 commit comments