Skip to content

Commit 6fe13a4

Browse files
committed
Fix flaky survey test
1 parent 976ae48 commit 6fe13a4

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/overlay/test/SurveyManagerTests.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,7 @@ TEST_CASE("Time sliced static topology survey",
749749
}
750750

751751
// A time sliced survey with changing topology during the collecting phase
752-
TEST_CASE("Time sliced dynamic topology survey",
753-
"[overlay][survey][topology][!hide]")
752+
TEST_CASE("Time sliced dynamic topology survey", "[overlay][survey][topology]")
754753
{
755754
enum
756755
{
@@ -772,6 +771,12 @@ TEST_CASE("Time sliced dynamic topology survey",
772771
for (int i = A; i <= F; ++i)
773772
{
774773
auto cfg = simulation->newConfig();
774+
775+
// E's disconnection window (~12 ledgers) and F's late join from
776+
// genesis sit right at the default MAX_SLOTS_TO_REMEMBER (12),
777+
// so bump this config to 100.
778+
cfg.MAX_SLOTS_TO_REMEMBER = 100;
779+
775780
configList.emplace_back(cfg);
776781

777782
keyList.emplace_back(cfg.NODE_SEED.getPublicKey());

0 commit comments

Comments
 (0)