From 2504c0dd0c64f650eaa379c1dc0eec6d8bfd8e68 Mon Sep 17 00:00:00 2001 From: Rob Skillington Date: Wed, 8 Jun 2022 12:04:21 -0400 Subject: [PATCH] Increase timeout of retries --- src/dbnode/integration/graphite_find_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dbnode/integration/graphite_find_test.go b/src/dbnode/integration/graphite_find_test.go index e0620cff12..5bc92eb56d 100644 --- a/src/dbnode/integration/graphite_find_test.go +++ b/src/dbnode/integration/graphite_find_test.go @@ -313,7 +313,8 @@ local: if attempt > 0 { // Retry transient errors (should add a strict mode for this test // avoid allowing transient errors too). - time.Sleep(time.Duration(attempt) * 500 * time.Millisecond) + seconds := 5 * attempt + time.Sleep(time.Duration(seconds) * time.Second) } result, failure, err = verifyFindQueries(node, level) }