From f331adbc76d07b19c8a1561d0f1b6f30c7a044a3 Mon Sep 17 00:00:00 2001 From: Stana Miric Date: Fri, 8 Mar 2024 13:04:59 +0000 Subject: [PATCH] test: fix flacky democracy tests (#1685) increased waiting time for registering representatives --- tests/e2e/actions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/actions.go b/tests/e2e/actions.go index e63481cb63..0ed7ea8e49 100644 --- a/tests/e2e/actions.go +++ b/tests/e2e/actions.go @@ -1910,7 +1910,7 @@ func (tr TestConfig) registerRepresentative( } // wait for inclusion in a block -> '--broadcast-mode block' is deprecated - tr.waitBlocks(action.Chain, 1, 10*time.Second) + tr.waitBlocks(action.Chain, 2, 10*time.Second) }(val, stake) }