From f2ecb356c0d9e854769c0065a0584f8a5fe25320 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 5 Oct 2023 22:05:40 +0200 Subject: [PATCH] chore: increase error wait timeout Signed-off-by: Valery Piashchynski --- tests/query_test.go | 2 +- tests/tls/query_tls_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/query_test.go b/tests/query_test.go index d01aae1d..2f6bb2f2 100644 --- a/tests/query_test.go +++ b/tests/query_test.go @@ -127,7 +127,7 @@ func Test_ListQueriesLAProto(t *testing.T) { ) assert.NoError(t, err) - time.Sleep(time.Millisecond * 500) + time.Sleep(time.Second) v, err := s.Client.QueryWorkflow(context.Background(), w.GetID(), w.GetRunID(), "error", -1) assert.Nil(t, v) diff --git a/tests/tls/query_tls_test.go b/tests/tls/query_tls_test.go index 6781b74c..d5139452 100644 --- a/tests/tls/query_tls_test.go +++ b/tests/tls/query_tls_test.go @@ -31,7 +31,7 @@ func Test_ListQueriesProto(t *testing.T) { ) assert.NoError(t, err) - time.Sleep(time.Millisecond * 500) + time.Sleep(time.Second) v, err := s.Client.QueryWorkflow(context.Background(), w.GetID(), w.GetRunID(), "error", -1) assert.Nil(t, v) @@ -122,7 +122,7 @@ func Test_ListQueriesLAProto(t *testing.T) { ) assert.NoError(t, err) - time.Sleep(time.Millisecond * 500) + time.Sleep(time.Second) v, err := s.Client.QueryWorkflow(context.Background(), w.GetID(), w.GetRunID(), "error", -1) assert.Nil(t, v)