Skip to content

Commit 1447f70

Browse files
committed
changes for review comments
1 parent d6b828c commit 1447f70

File tree

3 files changed

+27
-19
lines changed

3 files changed

+27
-19
lines changed

integration-tests/README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,23 @@ K8sTestUtils - uses k8s java client api, this is used only for delete domain use
198198

199199
* Maven and latest Git should be in PATH
200200
* export JAVA_HOME
201-
202-
Command to run the tests:
201+
* export WEBLOGIC_IMAGE_NAME and WEBLOGIC_IMAGE_TAG if different from store/oracle/weblogic and 12.2.1.3
202+
* Setup docker access to WebLogic 12c Images <br>
203+
Method 1 <br>
204+
* Setup a personal account on hub.docker.com
205+
* Then sign in to hub.docker.com and signup for access to WebLogic 12c Images via https://hub.docker.com/_/oracle-weblogic-server-12c
206+
* Then export the following before running the tests:
203207
```
204208
export DOCKER_USERNAME=<docker_username>
205209
export DOCKER_PASSWORD=<docker_password>
206210
export DOCKER_EMAIL=<docker_email>
207-
or
208-
make sure the weblogic image i.e. store/oracle/weblogic:12.2.1.3 already exists locally
209-
211+
```
212+
Method 2 <br>
213+
* Make sure the weblogic image i.e. store/oracle/weblogic:12.2.1.3 already exists locally
214+
* Make sure the weblogic image has patch p29135930 (required for the WebLogic Kubernetes Operator).
215+
* If not, see [https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-patch-wls-for-k8s].
216+
* Command to run the tests:
217+
```
210218
mvn clean verify -P java-integration-tests 2>&1 | tee log.txt
211219
```
212220

integration-tests/src/test/resources/deploywebapp.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55

66
connect(sys.argv[1],sys.argv[2],sys.argv[3])
77
deploy(sys.argv[4],sys.argv[5],sys.argv[6],upload='false',remote='false')
8-
systime.sleep(30)
8+
#systime.sleep(15)
99

10-
cd ('AppDeployments')
11-
myapps=cmo.getAppDeployments()
10+
#cd ('AppDeployments')
11+
#myapps=cmo.getAppDeployments()
1212

13-
for appName in myapps:
14-
domainConfig()
15-
cd ('/AppDeployments/'+appName.getName()+'/Targets')
16-
mytargets = ls(returnMap='true')
17-
domainRuntime()
18-
cd('AppRuntimeStateRuntime')
19-
cd('AppRuntimeStateRuntime')
20-
for targetinst in mytargets:
21-
curstate4=cmo.getCurrentState(appName.getName(),targetinst)
22-
print '-----------', curstate4, '-----------', appName.getName()
13+
#for appName in myapps:
14+
# domainConfig()
15+
# cd ('/AppDeployments/'+appName.getName()+'/Targets')
16+
# mytargets = ls(returnMap='true')
17+
# domainRuntime()
18+
# cd('AppRuntimeStateRuntime')
19+
# cd('AppRuntimeStateRuntime')
20+
# for targetinst in mytargets:
21+
# curstate4=cmo.getCurrentState(appName.getName(),targetinst)
22+
# print '-----------', curstate4, '-----------', appName.getName()

integration-tests/src/test/resources/statedump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function state_dump {
9191
fi
9292
else
9393
# command failed
94-
cat $RESULT_DIR/pvarchive.b64 | head -30
94+
cat $RESULT_DIR/pvarchive.b64 | head -100
9595
fi
9696
# rm $RESULT_DIR/pvarchive.b64
9797
else

0 commit comments

Comments
 (0)