MCPcopy Create free account
hub / github.com/ElementsProject/elements / test_work_queue_getblock

Function test_work_queue_getblock

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

Source from the content-addressed store, hash-verified

23
24
25def test_work_queue_getblock(node, got_exceeded_error):
26 while not got_exceeded_error:
27 try:
28 node.cli('getrpcinfo').send_cli()
29 except subprocess.CalledProcessError as e:
30 assert_equal(e.output, 'error: Server response: Work queue depth exceeded\n')
31 got_exceeded_error.append(True)
32
33
34class RPCInterfaceTest(BitcoinTestFramework):

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
send_cliMethod · 0.45

Tested by

no test coverage detected