mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
fix index variable
This commit is contained in:
@@ -50,8 +50,8 @@ def scenario( wallets, **kw ):
|
||||
testlib.next_block( **kw )
|
||||
|
||||
wallet = testlib.blockstack_client_initialize_wallet( "0123456789abcdef", wallets[2].privkey, wallets[3].privkey, None )
|
||||
for i in xrange(0, 3):
|
||||
resp = testlib.blockstack_cli_register( "foo_%s.test" % i, "0123456789abcdef" )
|
||||
for j in xrange(0, 3):
|
||||
resp = testlib.blockstack_cli_register( "foo_%s.test" % j, "0123456789abcdef" )
|
||||
if 'error' in resp:
|
||||
print >> sys.stderr, json.dumps(resp, indent=4, sort_keys=True)
|
||||
return False
|
||||
@@ -61,7 +61,7 @@ def scenario( wallets, **kw ):
|
||||
testlib.next_block( **kw )
|
||||
|
||||
# wait for the poller to pick them up
|
||||
print >> sys.stderr, "Waiting 10 seconds for the backend to submit the registers on foo_%s.test" % i
|
||||
print >> sys.stderr, "Waiting 10 seconds for the backend to submit the registers on foo_%s.test" % j
|
||||
time.sleep(10)
|
||||
|
||||
# wait for the registers to get confirmed
|
||||
@@ -72,7 +72,7 @@ def scenario( wallets, **kw ):
|
||||
|
||||
testlib.next_block( **kw )
|
||||
|
||||
print >> sys.stderr, "Waiting 10 seconds for the backend to acknowledge registrations on foo_%s.test" % i
|
||||
print >> sys.stderr, "Waiting 10 seconds for the backend to acknowledge registrations on foo_%s.test" % j
|
||||
time.sleep(10)
|
||||
|
||||
# wait for update to get confirmed
|
||||
@@ -83,7 +83,7 @@ def scenario( wallets, **kw ):
|
||||
|
||||
testlib.next_block( **kw )
|
||||
|
||||
print >> sys.stderr, "Waiting 10 seconds for the backend to acknowledge update on foo_%s.test" % i
|
||||
print >> sys.stderr, "Waiting 10 seconds for the backend to acknowledge update on foo_%s.test" % j
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user