api: unflake some intention-related api tests (#8857)
This commit is contained in:
parent
b596538397
commit
140c88a9f4
|
@ -12,6 +12,8 @@ func TestAPI_ConnectIntentionCreateListGetUpdateDelete(t *testing.T) {
|
|||
c, s := makeClient(t)
|
||||
defer s.Stop()
|
||||
|
||||
s.WaitForServiceIntentions(t)
|
||||
|
||||
connect := c.Connect()
|
||||
|
||||
// Create
|
||||
|
@ -68,6 +70,8 @@ func TestAPI_ConnectIntentionGet_invalidId(t *testing.T) {
|
|||
c, s := makeClient(t)
|
||||
defer s.Stop()
|
||||
|
||||
s.WaitForServiceIntentions(t)
|
||||
|
||||
connect := c.Connect()
|
||||
|
||||
// Get it
|
||||
|
@ -83,6 +87,8 @@ func TestAPI_ConnectIntentionMatch(t *testing.T) {
|
|||
c, s := makeClient(t)
|
||||
defer s.Stop()
|
||||
|
||||
s.WaitForServiceIntentions(t)
|
||||
|
||||
connect := c.Connect()
|
||||
|
||||
// Create
|
||||
|
@ -129,6 +135,8 @@ func TestAPI_ConnectIntentionCheck(t *testing.T) {
|
|||
c, s := makeClient(t)
|
||||
defer s.Stop()
|
||||
|
||||
s.WaitForServiceIntentions(t)
|
||||
|
||||
connect := c.Connect()
|
||||
|
||||
// Create
|
||||
|
|
Loading…
Reference in New Issue