Skip to content

Commit 33513f5

Browse files
authored
CBG-4316 wait for database online in test (#7745)
1 parent c9dc090 commit 33513f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest/api_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3485,6 +3485,7 @@ func TestAllowConflictsConfig(t *testing.T) {
34853485

34863486
// Recreate the database with the original configuration and verify it is online.
34873487
rt.CreateDatabase(dbName, dbConfig)
3488+
rt.WaitForDBOnline()
34883489
resp = rt.SendAdminRequest(http.MethodGet, allDBsURL, "")
34893490
RequireStatus(t, resp, http.StatusOK)
34903491
require.Equal(t, fmt.Sprintf(`[{"db_name":"%s","bucket":"%s","state":"Online"}]`, rt.GetDatabase().Name, rt.GetDatabase().Bucket.GetName()), resp.Body.String())

0 commit comments

Comments
 (0)