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 {
869869
870870 pvMap .values ().removeIf (Objects ::isNull );
871871
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+
872875 String cmd =
873876 BaseTest .getProjectRoot ()
874877 + "/src/integration-tests/bash/krun.sh -m "
875878 // + BaseTest.getPvRoot()
876879 + "/scratch:/scratch -c \" ls -ltr /scratch "
877880 + BaseTest .getPvRoot ()
881+ + "/scratch/acceptance_test_pv/persistentVolume-"
882+ + domainUid
878883 + "\" " ;
879884 logger .info ("Check PVROOT by running " + cmd );
880885 ExecResult result = TestUtils .exec (cmd );
881886 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 );
884887 }
885888
886889 /**
You can’t perform that action at this time.
0 commit comments