fix update->transfer->renew tests with cli interface

This commit is contained in:
Jude Nelson
2017-02-26 14:49:41 -05:00
parent 37f115030d
commit 4bf6f3dadb
2 changed files with 16 additions and 0 deletions

View File

@@ -151,6 +151,14 @@ def scenario( wallets, **kw ):
print >> sys.stderr, "Renewal request failed:\n%s" % json.dumps(resp, indent=4, sort_keys=True)
return False
# wait for it to go through
for i in xrange(0, 12):
# warn the serialization checker that this changes behavior from 0.13
print "BLOCKSTACK_SERIALIZATION_CHECK_IGNORE value_hash"
sys.stdout.flush()
testlib.next_block( **kw )
print >> sys.stderr, "Waiting 10 seconds for the backend to acknowledge the renewal"
time.sleep(10)

View File

@@ -161,6 +161,14 @@ def scenario( wallets, **kw ):
print >> sys.stderr, "Renewal request failed:\n%s" % json.dumps(resp, indent=4, sort_keys=True)
return False
# wait for it to go through
for i in xrange(0, 12):
# warn the serialization checker that this changes behavior from 0.13
print "BLOCKSTACK_SERIALIZATION_CHECK_IGNORE value_hash"
sys.stdout.flush()
testlib.next_block( **kw )
print >> sys.stderr, "Waiting 10 seconds for the backend to acknowledge the renewal"
time.sleep(10)