Commit 20400908 authored by kaiyou's avatar kaiyou

Type-force the result of a send-then-receive chack

parent 3897122e
Pipeline #211 passed with stage
in 1 minute and 5 seconds
......@@ -32,8 +32,8 @@ def send_then_receive(send_function, lookup_function):
delay = 0
found = False
while delay < timeout and not found:
found = lookup_function(result, account_to, dest,
expected.format(canary))
found = bool(lookup_function(result, account_to, dest,
expected.format(canary)))
delay = int(time.time() - start_time)
time.sleep(10)
result["up"] = found
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment