Skip to content

Commit

Permalink
Hopefully fix TestSPIFFEFederationSyncer flakiness (#47431)
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet authored Oct 10, 2024
1 parent 15a91cd commit eeb5152
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -152,7 +152,7 @@ func TestSPIFFEFederationSyncer(t *testing.T) {
return
}
assert.Equal(t, string(marshaledBundle1), got.Status.CurrentBundle)
}, time.Second*5, time.Millisecond*100)
}, time.Second*10, time.Millisecond*200)

// Create a second SPIFFEFederation and wait for it to be synced
created2, err := store.CreateSPIFFEFederation(ctx, &machineidv1pb.SPIFFEFederation{
@@ -184,7 +184,7 @@ func TestSPIFFEFederationSyncer(t *testing.T) {
return
}
assert.Equal(t, string(marshaledBundle2), got.Status.CurrentBundle)
}, time.Second*5, time.Millisecond*100)
}, time.Second*10, time.Millisecond*200)

cancel()
select {

0 comments on commit eeb5152

Please sign in to comment.