From 73532360127b1c1180898dbb99cdb78cbefb9bfc Mon Sep 17 00:00:00 2001 From: ptrus Date: Wed, 26 Aug 2020 18:14:06 +0200 Subject: [PATCH] go/roothash/tester: fix flaky RoundTimeoutWithEpochTransition --- .changelog/3214.internal.md | 1 + go/roothash/tests/tester.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .changelog/3214.internal.md diff --git a/.changelog/3214.internal.md b/.changelog/3214.internal.md new file mode 100644 index 00000000000..7e62a77a957 --- /dev/null +++ b/.changelog/3214.internal.md @@ -0,0 +1 @@ +go/roothash/tester: fix flaky RoundTimeoutWithEpochTransition diff --git a/go/roothash/tests/tester.go b/go/roothash/tests/tester.go index 3e9afd62ce0..abeb4f27ea7 100644 --- a/go/roothash/tests/tester.go +++ b/go/roothash/tests/tester.go @@ -546,8 +546,8 @@ WaitForRoundTimeoutBlocks: case blk := <-ch: header := blk.Block.Header - // Skip initial round. - if header.Round == child.Header.Round { + // Skip initial rounds. + if header.Round <= child.Header.Round { continue }