Change sleep timer to be longer for test_rpc_calculator

Hopefully this fixes timing issues with the test on travisci
This commit is contained in:
Jason Paryani
2015-06-03 15:29:33 -07:00
parent 8f78a7c80b
commit 606a325cfa

View File

@@ -21,7 +21,7 @@ def test_calculator():
def run_subprocesses(address): def run_subprocesses(address):
server = subprocess.Popen([examples_dir + '/calculator_server.py', address]) server = subprocess.Popen([examples_dir + '/calculator_server.py', address])
time.sleep(.1) # Give the server some small amount of time to start listening time.sleep(2) # Give the server some small amount of time to start listening
client = subprocess.Popen([examples_dir + '/calculator_client.py', address]) client = subprocess.Popen([examples_dir + '/calculator_client.py', address])
ret = client.wait() ret = client.wait()