Update test to verify order of zrpcunsafe log messages
This commit is contained in:
parent
a1477f6fac
commit
a45d2ec79c
|
@ -126,8 +126,10 @@ class WalletProtectCoinbaseTest (BitcoinTestFramework):
|
|||
logdata = myfile.readlines()
|
||||
for logline in logdata:
|
||||
if myopid + ": z_sendmany initialized" in logline and mytaddr in logline and myzaddr in logline:
|
||||
assert_equal(logcounter, 0) # verify order of log messages
|
||||
logcounter = logcounter + 1
|
||||
if myopid + ": z_sendmany finished" in logline and mytxid in logline:
|
||||
assert_equal(logcounter, 1)
|
||||
logcounter = logcounter + 1
|
||||
assert_equal(logcounter, 2)
|
||||
|
||||
|
|
Loading…
Reference in New Issue