mirror of https://github.com/status-im/consul.git
api: unflake some intention-related api tests (#8857)
This commit is contained in:
parent
16e8235abe
commit
0c9177f6a5
|
@ -12,6 +12,8 @@ func TestAPI_ConnectIntentionCreateListGetUpdateDelete(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForServiceIntentions(t)
|
||||||
|
|
||||||
connect := c.Connect()
|
connect := c.Connect()
|
||||||
|
|
||||||
// Create
|
// Create
|
||||||
|
@ -68,6 +70,8 @@ func TestAPI_ConnectIntentionGet_invalidId(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForServiceIntentions(t)
|
||||||
|
|
||||||
connect := c.Connect()
|
connect := c.Connect()
|
||||||
|
|
||||||
// Get it
|
// Get it
|
||||||
|
@ -83,6 +87,8 @@ func TestAPI_ConnectIntentionMatch(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForServiceIntentions(t)
|
||||||
|
|
||||||
connect := c.Connect()
|
connect := c.Connect()
|
||||||
|
|
||||||
// Create
|
// Create
|
||||||
|
@ -129,6 +135,8 @@ func TestAPI_ConnectIntentionCheck(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForServiceIntentions(t)
|
||||||
|
|
||||||
connect := c.Connect()
|
connect := c.Connect()
|
||||||
|
|
||||||
// Create
|
// Create
|
||||||
|
|
Loading…
Reference in New Issue