mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-25 18:21:36 +08:00
fix update->transfer->renew tests with cli interface
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user