Skip to content

Commit

Permalink
e2e: reduce the flakiness of IPFIX per-NWI interval setting test
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan4th committed Jun 2, 2022
1 parent a415cf0 commit 538a8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/ipfix_e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,6 @@ func verifyIntervals(times []time.Time, atLeastMs uint64) {
gomega.Expect(len(times)).To(gomega.BeNumerically(">", 3))
for n := 1; n < len(times); n++ {
deltaT := times[n].Sub(times[n-1]).Milliseconds()
gomega.Expect(deltaT).To(gomega.BeNumerically(">=", atLeastMs-200))
gomega.Expect(deltaT).To(gomega.BeNumerically(">=", atLeastMs-500))
}
}

0 comments on commit 538a8f7

Please sign in to comment.