dncurrency/nano/core_test
Piotr Wójcik 2e9f5bd1f4
Enable running core test suite in parallel (#4246)
* Move `test::get_available_port` to `test::system` class

* Use ephemeral ports in tests

* Fix database directories for core tests

* Fix rpc tests

* Use `SO_REUSEADDR`

* Fix `ipv6_bind_send_ipv4`

* Use 0 to bind to any port by default

* Fix `network` tests

* Fix `socket` tests

* Fix `ipc` tests

* Fix remaining tests

* Raise the file limit soft-cap when running tests in parallel.

* Importing gtest-parallel as a submodule.

---------

Co-authored-by: Colin LeMahieu <clemahieu@gmail.com>
2023-06-13 17:27:58 +02:00
..
fakes Better move semantics & fix clang-tidy warnings (#3606) 2021-12-18 13:37:57 +02:00
active_transactions.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
backlog.cpp Extract common test chain setup code (#4076) 2023-01-27 01:33:43 +01:00
block.cpp Block constructors to builders conversion in unit tests (#3841) 2022-07-08 14:56:55 +01:00
block_store.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
blockprocessor.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
bootstrap.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
bootstrap_ascending.cpp Rename bootstrap_ascending.?pp files to service.?pp 2023-04-11 10:17:02 -03:00
bootstrap_server.cpp Extract common test chain setup code (#4076) 2023-01-27 01:33:43 +01:00
cli.cpp Move test code into namespace nano::test (#3890) 2022-08-10 20:48:31 +01:00
CMakeLists.txt Bootstrap dynamic throttle (#4215) 2023-04-20 21:37:30 +01:00
confirmation_height.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
confirmation_solicitor.cpp Removing tracking weight from rep_crawler class. (#4187) 2023-03-20 13:17:01 +00:00
conflicts.cpp Create namespace 'scheduler' for scheduler component. (#4237) 2023-05-24 16:41:47 +01:00
core_test_main.cc Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
difficulty.cpp Moving work_thresholds in to their own object within network_params and including a referencing it within ledger_constants and network_constants instead of creating copies. 2021-08-10 23:10:10 +01:00
distributed_work.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
election.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
election_scheduler.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
entry.cpp Suggested changes from cppcheck (#2213) 2019-08-12 21:25:37 +01:00
enums.cpp Fix magic enum range 2023-02-01 13:09:04 +00:00
epochs.cpp Attach sideband to block (#2596) 2020-03-02 22:10:54 +00:00
frontiers_confirmation.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
gap_cache.cpp Convert nano::test::start_election to take a hash rather than a block (#4116) 2023-02-09 11:53:24 +00:00
ipc.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
ledger.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
ledger_walker.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
locks.cpp Disambiguity of all the implemented locks (#4045) 2023-01-13 15:02:34 -03:00
logger.cpp Move test code into namespace nano::test (#3890) 2022-08-10 20:48:31 +01:00
memory_pool.cpp Improved inactive_vote_cache (#3907) 2022-08-29 10:50:02 +02:00
message.cpp Merge branch 'handshake-v2-merged' into develop-rewrite 2023-03-08 15:45:17 +00:00
message_deserializer.cpp Fix or suppress Windows build warnings (#4195) 2023-03-30 18:07:33 -03:00
network.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
network_filter.cpp Passing work_thresholds in to ledger_constants and removing static references to nano::network_constants from within the ledger processor. 2021-08-09 08:57:40 +01:00
node.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
optimistic_scheduler.cpp Optimistic elections (#4111) 2023-02-23 16:36:10 +01:00
peer_container.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
prioritization.cpp Change election scheduler to consider previous balance (#4022) 2022-12-09 12:19:52 +00:00
processing_queue.cpp Fix processing_queue stop (#4082) 2023-01-30 21:12:02 +01:00
processor_service.cpp Add function ledger::account_info which encapsulates direct calls to account_store::get. 2023-01-27 18:46:32 +00:00
request_aggregator.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
signal_manager.cpp IWYU in signal_manager (#3894) 2022-08-20 15:32:28 +02:00
signing.cpp Block constructors to builders conversion in unit tests (#3841) 2022-07-08 14:56:55 +01:00
socket.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
system.cpp Add function ledger::account_info which encapsulates direct calls to account_store::get. 2023-01-27 18:46:32 +00:00
telemetry.cpp Connect handshake v2 messages to the node. 2023-03-08 15:44:36 +00:00
throttle.cpp Bootstrap dynamic throttle (#4215) 2023-04-20 21:37:30 +01:00
timer.cpp Fix nano::timer tick update after stopping (#2932) 2020-09-15 09:29:27 +01:00
toml.cpp Blockprocessor stall workaround (#4240) 2023-05-31 14:42:46 +02:00
uint256_union.cpp Fix: Allow block count > UINT32_MAX (#3979) 2022-10-27 12:27:54 +01:00
unchecked_map.cpp Remove store dependency from unchecked_map 2023-04-19 14:54:34 -03:00
utility.cpp Fix data race identified by TSAN where threads terminate after local variables are destroyed. (#4222) 2023-05-03 12:34:37 +01:00
vote_cache.cpp Improved inactive_vote_cache (#3907) 2022-08-29 10:50:02 +02:00
vote_processor.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
voting.cpp Continuous vote generation for active elections (#3996) 2022-11-14 13:44:31 +01:00
wallet.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
wallets.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
websocket.cpp Enable running core test suite in parallel (#4246) 2023-06-13 17:27:58 +02:00
work_pool.cpp Block constructors to builders conversion in unit tests (#3841) 2022-07-08 14:56:55 +01:00