mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fix CI unit tests (#5196)
- Add retries for rpc client - Add dynamic port allocation for rpc servers
This commit is contained in:
@@ -32,9 +32,6 @@
|
||||
namespace ripple {
|
||||
namespace test {
|
||||
|
||||
extern void
|
||||
incPorts(int times);
|
||||
|
||||
namespace detail {
|
||||
|
||||
std::string
|
||||
@@ -510,9 +507,6 @@ multi_runner_child::multi_runner_child(
|
||||
, quiet_{quiet}
|
||||
, print_log_{!quiet || print_log}
|
||||
{
|
||||
// incPort twice (2*jobIndex_) because some tests need two envs
|
||||
test::incPorts(2 * job_index_);
|
||||
|
||||
if (num_jobs_ > 1)
|
||||
{
|
||||
keep_alive_thread_ = std::thread([this] {
|
||||
|
||||
Reference in New Issue
Block a user