Zebra/zebrad/tests/common
Arya 0aab3df731
fix(test): avoid failing getblocktemplate acceptance test when the chain tip changes (#6091)
* adds basic usage of long polling in gbt test

* adds !submit_old check before cancelling proposing a new template

* Removes break statement in long polling task

* Update zebrad/tests/common/rpc_client.rs

Co-authored-by: teor <teor@riseup.net>

* use blocking_send and watch channel

* fix "cannot block the current thread from within a runtime"

* Reduces interval between proposals and increases num proposals required.

* Runs rate-limiting sleeps in parallel to validation

* corrects comment.

---------

Co-authored-by: teor <teor@riseup.net>
2023-02-03 05:48:49 +00:00
..
configs build(deps): bump toml from 0.5.11 to 0.6.0: changes `zebrad generate` to use double quoted strings, old configs still work (#6029) 2023-01-27 01:01:08 +00:00
get_block_template_rpcs fix(test): avoid failing getblocktemplate acceptance test when the chain tip changes (#6091) 2023-02-03 05:48:49 +00:00
lightwalletd Fix typos (#5728) 2022-11-27 22:37:55 +00:00
cached_state.rs change(tests): adds RPC request client for condensing shared code (#5619) 2022-11-16 21:23:29 +00:00
check.rs T0. refactor(test): split zebrad acceptance tests into sub-modules (#3901) 2022-03-18 16:02:22 +00:00
config.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
failure_messages.rs fix(ci): test RPCs with zcash/lightwalletd, to fix post-NU5 failures in adityapk00/lightwalletd (#4553) 2022-06-01 07:36:59 -04:00
get_block_template_rpcs.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
launch.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
lightwalletd.rs fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
mod.rs change(tests): adds RPC request client for condensing shared code (#5619) 2022-11-16 21:23:29 +00:00
rpc_client.rs fix(test): avoid failing getblocktemplate acceptance test when the chain tip changes (#6091) 2023-02-03 05:48:49 +00:00
sync.rs fix(clippy): Fix nightly clippy redundant code lints (#5916) 2023-01-05 15:46:04 +00:00
test_type.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00