From 15de6caf75ea4de8c6218d9d8430f39ad9d9404c Mon Sep 17 00:00:00 2001 From: Alex <33497058+bexsoft@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:09:55 -0500 Subject: [PATCH] Fixed Failing integration test (#3071) Added a wait time after bucket creation to list the new buckets list --- integration/user_api_bucket_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integration/user_api_bucket_test.go b/integration/user_api_bucket_test.go index 7a8acc3eb..c0956d154 100644 --- a/integration/user_api_bucket_test.go +++ b/integration/user_api_bucket_test.go @@ -2166,6 +2166,9 @@ func TestListBuckets(t *testing.T) { } } + // Waiting to retrieve the new list of buckets + time.Sleep(3 * time.Second) + // 2. List buckets listBucketsResponse, listBucketsError := ListBuckets() assert.Nil(listBucketsError)