From 121ed70b0572f2b7d707a5bad5f75d56407091dc Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 12 Oct 2020 19:17:48 +0300 Subject: [PATCH] tests: Add 3 second to the backoff test --- tests/backoff/backoff_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/backoff/backoff_test.go b/tests/backoff/backoff_test.go index b52f638..9343a5b 100644 --- a/tests/backoff/backoff_test.go +++ b/tests/backoff/backoff_test.go @@ -91,8 +91,8 @@ func TestEndure_MainThread_Backoff(t *testing.T) { wg.Wait() after := time.Now().Second() - // after - now should not be more than 11 as we set in NewContainer - assert.Greater(t, 11, after-now, "time") + // after - now should not be more than 15 as we set in NewContainer + assert.Greater(t, 15, after-now, "time") } func TestEndure_BackoffTimers(t *testing.T) {