Skip to content

Commit

Permalink
add wait to test to prevent race on acl read (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
kschoche committed Mar 22, 2021
1 parent 6bb9959 commit 33b2fda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions namespaces/namespaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func TestEnsureExists_AlreadyExists(tt *testing.T) {
})
req.NoError(err)
defer consul.Stop()
consul.WaitForSerfCheck(t)
consulClient, err := capi.NewClient(&capi.Config{
Address: consul.HTTPAddr,
Token: masterToken,
Expand Down

0 comments on commit 33b2fda

Please sign in to comment.