Fix race on TestTriggerMultipleInstances (#9122)

This commit is contained in:
Lucas Manuel Rodriguez 2022-12-26 12:32:37 -03:00 committed by GitHub
parent e1bbcfcfda
commit c4733a4792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -650,6 +650,7 @@ func TestTriggerMultipleInstances(t *testing.T) {
}
for _, c := range cases {
c := c
ctx, cancelFunc := context.WithCancel(context.Background())
instanceIDs := strings.Split("abcdef", "")