mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Enable manual tests in CI:
Fixes: RIPD-1575. Fix argument passing to runner. Allow multiple unit test selectors to be passed via --unittest argument. Add optional integer priority value to test suite list. Fix several failing manual tests. Update CLI usage message to make it clearer.
This commit is contained in:
@@ -83,14 +83,16 @@ private:
|
||||
|
||||
beast::xor_shift_engine gen_;
|
||||
std::uint8_t prefix_;
|
||||
std::uniform_int_distribution<std::uint32_t> d_type_;
|
||||
std::discrete_distribution<std::uint32_t> d_type_;
|
||||
std::uniform_int_distribution<std::uint32_t> d_size_;
|
||||
|
||||
public:
|
||||
explicit
|
||||
Sequence(std::uint8_t prefix)
|
||||
: prefix_ (prefix)
|
||||
, d_type_ (hotLEDGER, hotTRANSACTION_NODE)
|
||||
// uniform distribution over hotLEDGER - hotTRANSACTION_NODE
|
||||
// but exclude hotTRANSACTION = 2 (removed)
|
||||
, d_type_ ({1, 1, 0, 1, 1})
|
||||
, d_size_ (minSize, maxSize)
|
||||
{
|
||||
}
|
||||
@@ -744,7 +746,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE_MANUAL(Timing,NodeStore,ripple);
|
||||
BEAST_DEFINE_TESTSUITE_MANUAL_PRIO(Timing,NodeStore,ripple,1);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -585,7 +585,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(import,NodeStore,ripple);
|
||||
BEAST_DEFINE_TESTSUITE_MANUAL(import,NodeStore,ripple);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user