fix cryptoconditions qa

This commit is contained in:
Scott Sadler
2018-03-12 18:22:38 -03:00
parent c6fa342bd6
commit 91fe980a98
2 changed files with 2 additions and 96 deletions

View File

@@ -32,7 +32,7 @@ class JsonClient(object):
def run_cmd(cmd):
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
assert proc.wait() == 0
assert proc.wait() == 0, cmd
return proc.stdout.read()
@@ -68,7 +68,7 @@ def wait_for_block(height):
try:
return rpc.getblock(str(height))
except RPCError as e:
time.sleep(3)
time.sleep(1)
raise Exception('Time out waiting for block at height %s' % height)