Fixed Failing integration test (#3071)

Added a wait time after bucket creation to list the new buckets list
This commit is contained in:
Alex
2023-10-04 11:09:55 -05:00
committed by GitHub
parent 77bc2d5006
commit 15de6caf75

View File

@@ -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)