File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
integration-tests/src/test/resources/wldf Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 3
3
from java .io import File
4
4
import sys , socket
5
5
import os
6
+ import time as systime
6
7
hostname = socket .gethostname ()
7
8
8
9
k8s_master_host = os .environ .get ('KUBERNETES_SERVICE_HOST' )
64
65
65
66
save ()
66
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
+
You can’t perform that action at this time.
0 commit comments