Skip to content

Commit 7631684

Browse files
committed
adding javadoc
1 parent 3e3d49e commit 7631684

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITOperator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,9 @@ public void testTwoDomainsManagedByTwoOperators() throws Exception {
231231
}
232232
/**
233233
* Create operator if its not running and create domain with serverStartPolicy="ADMIN_ONLY".
234-
* Verify only admin server is created. shutdown by deleting domain CRD. Create domain on existing
235-
* PV dir, pv is already populated by a shutdown domain.
234+
* Verify only admin server is created. Make domain configuration change and restart the domain.
235+
* shutdown by deleting domain CRD. Create domain on existing PV dir, pv is already populated by a
236+
* shutdown domain.
236237
*
237238
* @throws Exception
238239
*/

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,16 @@ public static ExecResult kubectlpatch(String domainUid, String domainNS, String
14221422
+ " --type merge";
14231423
return exec(cmd, true);
14241424
}
1425-
1425+
/**
1426+
* exec into the pod and call the shell script with given arguments
1427+
*
1428+
* @param podName
1429+
* @param domainNS
1430+
* @param scriptsLocInPod
1431+
* @param shScriptName
1432+
* @param args
1433+
* @throws Exception
1434+
*/
14261435
public static void callShellScriptByExecToPod(
14271436
String podName, String domainNS, String scriptsLocInPod, String shScriptName, String[] args)
14281437
throws Exception {

0 commit comments

Comments
 (0)