MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / wait_for_disconnect

Method wait_for_disconnect

test/functional/test_framework/mininode.py:325–327  ·  view source on GitHub ↗
(self, timeout=60)

Source from the content-addressed store, hash-verified

323 # Connection helper methods
324
325 def wait_for_disconnect(self, timeout=60):
326 test_function = lambda: not self.is_connected
327 wait_until(test_function, timeout=timeout, lock=mininode_lock)
328
329 # Message receiving helper methods
330

Callers 7

test_nonnull_locatorsMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
send_txs_and_testMethod · 0.80

Calls 1

wait_untilFunction · 0.90

Tested by 1

test_nonnull_locatorsMethod · 0.64