Fixed Failing integration test (#3071)
Added a wait time after bucket creation to list the new buckets list
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user