Skip to content

Commit 3476919

Browse files
committed
debug
1 parent adf7ec2 commit 3476919

File tree

1 file changed

+5
-2
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator/utils

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)