Skip to content

Commit 640a71b

Browse files
committed
jenkins-ignore javadoc update
1 parent 6285598 commit 640a71b

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
193193

194194
/**
195195
* Modify/Add the containerSecurityContext section at ServerPod Level using kubectl apply -f
196-
* domain.yaml.Verify all the pods re-started. The property tested is: serverPod:
197-
* containerSecurityContext: runAsUser: 1000 fsGroup: 2000
196+
* cont.security.context.domain.yaml. Verify all the pods re-started. The property tested is:
197+
* serverPod: containerSecurityContext: runAsUser: 1000 fsGroup: 2000
198198
*
199199
* @throws Exception
200200
*/
@@ -226,8 +226,8 @@ public void testServerPodsRestartByChangingContSecurityContext() throws Exceptio
226226

227227
/**
228228
* Modify/Add the podSecurityContext section at ServerPod level using kubectl apply -f
229-
* domain.yaml. Verify all pod(s) re-started. The property tested is: podSecurityContext:
230-
* runAsUser: 1000 fsGroup: 2000
229+
* pod.security.context.domain.yaml. Verify all the pods re-started. The property tested is:
230+
* podSecurityContext: runAsUser: 1000 fsGroup: 2000
231231
*
232232
* @throws Exception
233233
*/
@@ -258,9 +258,9 @@ public void testServerPodsRestartByChangingPodSecurityContext() throws Exception
258258
}
259259

260260
/**
261-
* Modify/Add imagePullSecrets section at Domain Level using kubectl apply -f domain.yaml. Verify
262-
* all pods re-started. The property tested is: imagePullSecrets:- name: imagePullSecr value:
263-
* myImagePullSecret
261+
* Modify/Add imagePullSecrets section at Domain Level using kubectl apply -f secret.domain.yaml.
262+
* Verify all pods re-started. The property tested is: imagePullSecrets:- name: imagePullSecr
263+
* value: myImagePullSecret
264264
*
265265
* @throws Exception
266266
*/
@@ -291,9 +291,9 @@ public void testServerPodsRestartByChangingImagePullSecrets() throws Exception {
291291
}
292292

293293
/**
294-
* Modify/Add resources at ServerPod level using kubectl apply -f domain.yaml. Verify all pods
295-
* re-started. The property tested is: resources: limits: cpu: "1" requests: cpu: "0.5" args: -
296-
* -cpus - "2"
294+
* Modify/Add resources at ServerPod level using kubectl apply -f resource.domain.yaml. Verify all
295+
* pods re-started. The property tested is: resources: limits: cpu: "1" requests: cpu: "0.5" args:
296+
* - -cpus - "2"
297297
*
298298
* @throws Exception
299299
*/
@@ -323,8 +323,8 @@ public void testServerPodsRestartByChangingResource() throws Exception {
323323
}
324324

325325
/**
326-
* Modify the annotations at ServerPod level using kubectl apply -f domain.yaml. Verify all pods
327-
* re-started. The property tested is: annotations: "TSTAMP" --> "DATETIME"
326+
* Modify the annotations at ServerPod level using kubectl apply -f annotation.domain.yaml. Verify
327+
* all pods re-started. The property tested is: annotations: "TSTAMP" --> "DATETIME"
328328
*
329329
* @throws Exception
330330
*/

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,12 @@ public static void kubectlexec(String podName, String namespace, String scriptPa
498498
}
499499
}
500500

501+
/**
502+
* exec kubectl apply -f yamlFile
503+
*
504+
* @param yamlFile
505+
* @throws Exception
506+
*/
501507
public static void kubectlapply(String yamlFile) throws Exception {
502508

503509
StringBuffer command = new StringBuffer();

0 commit comments

Comments
 (0)