Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change(tests): use OS-assigned unallocated ports for getting random k…
…nown ports (#5607) * updates mod docs for tests that use future blocks * updates submitblock test to use TestType methods * prunes redundant code * adds check_sync_logs_until * adds assertion for needs cached state & rpc server * updates get_raw_future_blocks fn with rpc calls * updates to get_raw_future_blocks fn and submit_block test * Rename LightwalletdTestType to TestType * moves TestType and random_known_rpc_port_config to test_type.rs and config.rs * moves get_raw_future_blocks to cached_state.rs * updates ci workflows to include submit block test * adds get_future_blocks fn and uses it in load_transactions_from_future_blocks * updates CI docker * Apply suggestions from code review Co-authored-by: teor <[email protected]> * Applies suggestions from code review * Updates misnamed closure param * updates mod docs for test_type.rs * updates random_known_port to ask the OS for a port * uses old random_known_port for windows Co-authored-by: teor <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information