chia-blockchain/tests/pools
Mariano Sorgente 817baa3096
Bind port 0 to fix race condition when grabbing available ports (#11578)
* port 0 to fix flakiness

* Try fixing setup_full_system

* Try fixing setup_full_system, and lint

* More attempts to fix

* No more calls to get random ports in setup_nodes

* Revert accidental changes

* Timelord extra arg

* Try with port 0

* Fix daemon test, and lint

* Try without 0.0.0.0

* Back to 0.0.0.0

* Try a few timelord changes to get test running

* Increase timeout again

* Use the correct interface to get the port

* INFO logging to debug issue

* Revert "INFO logging to debug issue"

This reverts commit 7c379e5cca.

* Fix advertised port log

* Add extra log

* Logging back

* Rollback the timelord changes

* Try port 0 timelord

* Revert "Try port 0 timelord"

This reverts commit 4997faf3b2.

* Try full green, change ordering

* Remove unused var

* speed up simulation and cleanup

* Now try without the port config

* Fix a flaky call to get_event_loop

* Try getting the port dynamically

* No dynamic port

* Try changing the ordering

* Try adding a sleep

* Back to what works

* Timelord before vdf clients

* Dynamic port for 1st timelord

* Revert "Dynamic port for 1st timelord"

This reverts commit 0f322a15b7.

* Revert "Timelord before vdf clients"

This reverts commit 3286c34696.

* Revert "Back to what works"

This reverts commit 30380dffb7.

* Revert "Try adding a sleep"

This reverts commit 9212b665a6.

* Revert "Try changing the ordering"

This reverts commit a62597d70d.

* Revert "No dynamic port"

This reverts commit 5d2e15749b.

* Revert "Try getting the port dynamically"

This reverts commit ef9cd75679.

* Revert "Fix a flaky call to get_event_loop"

This reverts commit 01a000fdfb.

* Try one to 0

* Just not 0

* Don't get port dynamically

* Cleanup a bit

* Fix

* Some cleanup work

* Some cleanup work

* Fix daemon test

* Cleanup

* Remove arguments
2022-05-23 08:13:49 -07:00
..
__init__.py Pools mainnet (#7047) 2021-06-29 14:21:25 -07:00
config.py Prepare test blocks and plots only for tests that need them. This saves us a couple more hours of CI running time. (#10975) 2022-04-05 10:34:57 -07:00
test_pool_cmdline.py tests|github|pre-commit: Improve build-workflows.py and make it a pre-commit hook (#8728) 2021-11-09 10:57:40 -08:00
test_pool_config.py Switch to integrated lock_and_load_config() context manager (#10698) 2022-03-28 12:52:51 -07:00
test_pool_puzzles_lifecycle.py Rust only conditions (#8467) 2021-09-18 10:25:19 -07:00
test_pool_rpc.py Bind port 0 to fix race condition when grabbing available ports (#11578) 2022-05-23 08:13:49 -07:00
test_pool_wallet.py Preserve existing pool payout_instructions when creating a PoolWallet (#10507) 2022-03-02 10:25:13 -08:00
test_wallet_pool_store.py Fix remaining linting issues (#10962) 2022-04-02 13:22:55 -07:00