summaryrefslogtreecommitdiff
path: root/demoscript
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-12-16 16:43:18 +0100
committerJose <jose@zeroc.com>2014-12-16 16:43:18 +0100
commitd7911765a90af712d8a44b5b36291664c7258ae7 (patch)
treede6886b29606b217f72d72ca6bef048270238c94 /demoscript
parentFixed default compiler setting in TestUtil (diff)
downloadice-d7911765a90af712d8a44b5b36291664c7258ae7.tar.bz2
ice-d7911765a90af712d8a44b5b36291664c7258ae7.tar.xz
ice-d7911765a90af712d8a44b5b36291664c7258ae7.zip
Bump some demoscript timeouts that could cause problems
Diffstat (limited to 'demoscript')
-rwxr-xr-xdemoscript/Freeze/phonebook.py2
-rwxr-xr-xdemoscript/Glacier2/callback.py4
-rw-r--r--demoscript/Ice/async.py2
-rw-r--r--demoscript/Ice/hello.py4
-rwxr-xr-xdemoscript/IceBox/hello.py4
-rw-r--r--demoscript/IceDiscovery/hello.py4
-rwxr-xr-xdemoscript/IceGrid/allocate.py10
-rwxr-xr-xdemoscript/IceGrid/icebox.py28
-rwxr-xr-xdemoscript/IceGrid/sessionActivation.py4
-rwxr-xr-xdemoscript/IceGrid/simple.py6
10 files changed, 34 insertions, 34 deletions
diff --git a/demoscript/Freeze/phonebook.py b/demoscript/Freeze/phonebook.py
index 843db7dcccb..8b78ac4c352 100755
--- a/demoscript/Freeze/phonebook.py
+++ b/demoscript/Freeze/phonebook.py
@@ -49,7 +49,7 @@ def run(client, server):
pass
try:
while True:
- client.expect('\n', timeout=1)
+ client.expect('\n', timeout=120)
except Expect.TIMEOUT:
pass
print("ok")
diff --git a/demoscript/Glacier2/callback.py b/demoscript/Glacier2/callback.py
index a74456f879c..716e976fb92 100755
--- a/demoscript/Glacier2/callback.py
+++ b/demoscript/Glacier2/callback.py
@@ -41,7 +41,7 @@ def run(client, server, glacier2):
client.sendline('O')
client.sendline('f')
try:
- server.expect('initiating callback to', timeout=1)
+ server.expect('initiating callback to', timeout=120)
except Expect.TIMEOUT:
pass
glacier2.expect('_fwd/O')
@@ -63,7 +63,7 @@ def run(client, server, glacier2):
client.sendline('t')
server.expect('initiating callback to.*fake.*ObjectNotExistException')
try:
- client.expect('received callback', timeout=1)
+ client.expect('received callback', timeout=120)
except Expect.TIMEOUT:
pass
print("ok")
diff --git a/demoscript/Ice/async.py b/demoscript/Ice/async.py
index 72a4f6d7be0..182e5f3fd71 100644
--- a/demoscript/Ice/async.py
+++ b/demoscript/Ice/async.py
@@ -18,7 +18,7 @@ def run(client, server):
server.expect('Hello World!')
client.sendline('d')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('i')
diff --git a/demoscript/Ice/hello.py b/demoscript/Ice/hello.py
index 9f562a93c2b..a6d2d6ba9e6 100644
--- a/demoscript/Ice/hello.py
+++ b/demoscript/Ice/hello.py
@@ -31,7 +31,7 @@ def runtests(client, server, secure, datagram):
sys.stdout.flush()
client.sendline('O')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('O')
@@ -43,7 +43,7 @@ def runtests(client, server, secure, datagram):
sys.stdout.flush()
client.sendline('D')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('D')
diff --git a/demoscript/IceBox/hello.py b/demoscript/IceBox/hello.py
index 6adc15a1bb5..4ab0e478cb8 100755
--- a/demoscript/IceBox/hello.py
+++ b/demoscript/IceBox/hello.py
@@ -31,7 +31,7 @@ def runtests(client, server, secure):
sys.stdout.flush()
client.sendline('O')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('O')
@@ -43,7 +43,7 @@ def runtests(client, server, secure):
sys.stdout.flush()
client.sendline('D')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('D')
diff --git a/demoscript/IceDiscovery/hello.py b/demoscript/IceDiscovery/hello.py
index 9f562a93c2b..a6d2d6ba9e6 100644
--- a/demoscript/IceDiscovery/hello.py
+++ b/demoscript/IceDiscovery/hello.py
@@ -31,7 +31,7 @@ def runtests(client, server, secure, datagram):
sys.stdout.flush()
client.sendline('O')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('O')
@@ -43,7 +43,7 @@ def runtests(client, server, secure, datagram):
sys.stdout.flush()
client.sendline('D')
try:
- server.expect('Hello World!', timeout=1)
+ server.expect('Hello World!', timeout=120)
except Expect.TIMEOUT:
pass
client.sendline('D')
diff --git a/demoscript/IceGrid/allocate.py b/demoscript/IceGrid/allocate.py
index 9760148d506..71729576981 100755
--- a/demoscript/IceGrid/allocate.py
+++ b/demoscript/IceGrid/allocate.py
@@ -69,7 +69,7 @@ def run(clientCmd):
node.expect('says Hello World!')
client2.expect(Expect.TIMEOUT, timeout = 0)
client1.sendline('x')
- client1.waitTestSuccess(timeout=1)
+ client1.waitTestSuccess(timeout=120)
client2.expect('==>')
client2.sendline('t')
@@ -77,7 +77,7 @@ def run(clientCmd):
client2.sendline('s')
node.expect('detected termination of server')
client2.sendline('x')
- client2.waitTestSuccess(timeout=1)
+ client2.waitTestSuccess(timeout=120)
print("ok")
sys.stdout.write("deploying multiple... ")
@@ -118,7 +118,7 @@ def run(clientCmd):
client3.expect(Expect.TIMEOUT, timeout = 0)
client1.sendline('x')
- client1.waitTestSuccess(timeout=1)
+ client1.waitTestSuccess(timeout=120)
client3.expect('==>')
client3.sendline('t')
@@ -129,12 +129,12 @@ def run(clientCmd):
client2.sendline('s')
node.expect('detected termination of server')
client2.sendline('x')
- client2.waitTestSuccess(timeout=1)
+ client2.waitTestSuccess(timeout=120)
client3.sendline('s')
node.expect('detected termination of server')
client3.sendline('x')
- client3.waitTestSuccess(timeout=1)
+ client3.waitTestSuccess(timeout=120)
print("ok")
diff --git a/demoscript/IceGrid/icebox.py b/demoscript/IceGrid/icebox.py
index c3e593cbff9..ea0ecc68bac 100755
--- a/demoscript/IceGrid/icebox.py
+++ b/demoscript/IceGrid/icebox.py
@@ -64,7 +64,7 @@ def run(clientStr, desc = 'application'):
for s in [ "Homer", "Marge", "Bart", "Lisa", "Maggie" ]:
client = Util.spawn(clientStr)
node.expect("Hello, %s" % s)
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
print("ok")
@@ -78,19 +78,19 @@ def run(clientStr, desc = 'application'):
client = Util.spawn(clientStr)
node.expect("Hello, Homer")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Marge")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Bart")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Homer")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
admin.sendline("service start IceBox Lisa")
admin.expect('>>>')
@@ -104,19 +104,19 @@ def run(clientStr, desc = 'application'):
client = Util.spawn(clientStr)
node.expect("Hello, Bart")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Lisa")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Maggie")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Bart")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
print("ok")
@@ -145,23 +145,23 @@ def run(clientStr, desc = 'application'):
client = Util.spawn(clientStr)
node.expect("Hello, Lisa")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Maggie")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Homer")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Marge")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
client = Util.spawn(clientStr)
node.expect("Hello, Bart")
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
print("ok")
diff --git a/demoscript/IceGrid/sessionActivation.py b/demoscript/IceGrid/sessionActivation.py
index f1f23fcf9b9..cee64d6724a 100755
--- a/demoscript/IceGrid/sessionActivation.py
+++ b/demoscript/IceGrid/sessionActivation.py
@@ -59,7 +59,7 @@ def run(clientCmd):
client.sendline('t')
node.expect('says Hello World!')
client.sendline('x')
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
node.expect('detected termination of server')
client = Util.spawn(clientCmd)
@@ -72,7 +72,7 @@ def run(clientCmd):
client.sendline('t')
node.expect('says Hello World!')
client.sendline('x')
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
node.expect('detected termination of server')
print("ok")
diff --git a/demoscript/IceGrid/simple.py b/demoscript/IceGrid/simple.py
index 62e19490b0e..40faed71c30 100755
--- a/demoscript/IceGrid/simple.py
+++ b/demoscript/IceGrid/simple.py
@@ -60,7 +60,7 @@ def run(clientStr, desc = 'application'):
node.expect("detected termination of.*SimpleServer")
client.sendline('x')
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
print("ok")
sys.stdout.write("deploying template... ")
@@ -81,7 +81,7 @@ def run(clientStr, desc = 'application'):
node.expect("detected termination of.*SimpleServer-[123]")
client.sendline('x')
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
print("ok")
sys.stdout.write("deploying replicated version... ")
@@ -105,7 +105,7 @@ def run(clientStr, desc = 'application'):
client.sendline('s')
node.expect("detected termination of.*SimpleServer-%d" % which)
client.sendline('x')
- client.waitTestSuccess(timeout=1)
+ client.waitTestSuccess(timeout=120)
testserver(1)
testserver(2)
testserver(3)