Skip to content

Commit 160f9c9

Browse files
authored
Merge pull request #531 from oracle/introspector-jenkins
ixes issues found in jenkins java-integration-tests in domain-introspector branch
2 parents 35ec49a + 5873258 commit 160f9c9

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,13 @@ private Domain testAllUseCasesForADomain(Operator operator, String domainYamlFil
296296
logger.info("Creating Domain & verifing the domain creation");
297297
// create domain1
298298
Domain domain = testDomainCreation(domainYamlFile);
299+
testClusterScaling(operator, domain);
299300
if (System.getenv("QUICKTEST") == null
300301
|| (System.getenv("QUICKTEST") != null
301302
&& !System.getenv("QUICKTEST").equalsIgnoreCase("true"))) {
302303
testDomainLifecyle(operator, domain);
303304
testOperatorLifecycle(operator, domain);
304305
}
305-
testClusterScaling(operator, domain);
306306
return domain;
307307
}
308308

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from java.io import File
44
import sys, socket
55
import os
6+
import time as systime
67
hostname = socket.gethostname()
78

89
k8s_master_host=os.environ.get('KUBERNETES_SERVICE_HOST')
@@ -63,4 +64,22 @@
6364
wh1.addNotification(scriptAct)
6465

6566
save()
66-
activate()
67+
activate(block='true')
68+
69+
print "wait for harvester watch to become active"
70+
71+
domainRuntime()
72+
73+
cd('ServerRuntimes/admin-server/WLDFRuntime/WLDFRuntime/WLDFWatchNotificationRuntime/WatchNotification')
74+
75+
numWatchEval=cmo.getTotalHarvesterWatchEvaluations()
76+
maxwait=300
77+
78+
while(numWatchEval < 1) and (maxwait > 0):
79+
print numWatchEval
80+
maxwait -= 1
81+
systime.sleep(1)
82+
numWatchEval=cmo.getTotalHarvesterWatchEvaluations()
83+
84+
print "wldf.py done numWatchEval is ", numWatchEval, " maxwait is ", maxwait
85+

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/wdt/wdt_model_dynamic.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ topology:
1717
Server:
1818
'@@PROP:adminServerName@@':
1919
ListenAddress: '@@PROP:domainUID@@-@@PROP:adminServerName@@'
20-
Log:
21-
FileName: '/shared/logs/@@PROP:domainUID@@/@@PROP:adminServerName@@.log'
2220
NetworkAccessPoint:
2321
T3Channel:
2422
ListenAddress: '@@PROP:domainUID@@-@@PROP:adminServerName@@'
@@ -30,7 +28,5 @@ topology:
3028
Cluster: '@@PROP:clusterName@@'
3129
ListenAddress: '@@PROP:domainUID@@-@@PROP:managedServerNameBase@@${id}'
3230
ListenPort: '@@PROP:managedServerPort@@'
33-
Log:
34-
FileName: '/shared/logs/@@PROP:domainUID@@/@@PROP:managedServerNameBase@@${id}.log'
3531
JTAMigratableTarget:
3632
Cluster: '@@PROP:clusterName@@'

0 commit comments

Comments
 (0)