MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / test_work_queue_getblock

Function test_work_queue_getblock

test/functional/interface_rpc.py:82–88  ·  view source on GitHub ↗
(node, got_exceeded_error)

Source from the content-addressed store, hash-verified

80
81
82def test_work_queue_getblock(node, got_exceeded_error):
83 while not got_exceeded_error:
84 try:
85 node.cli("waitfornewblock", "500").send_cli()
86 except subprocess.CalledProcessError as e:
87 assert_equal(e.output, 'error: Server response: Work queue depth exceeded\n')
88 got_exceeded_error.append(True)
89
90
91class RPCInterfaceTest(BitcoinTestFramework):

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
send_cliMethod · 0.80

Tested by

no test coverage detected