Actually track nonce in test

This commit is contained in:
freddygv 2022-10-12 07:50:17 -06:00
parent 7f9a5d0f58
commit 1b46b35041
1 changed files with 1 additions and 0 deletions

View File

@ -1887,6 +1887,7 @@ func expectReplEvents(t *testing.T, client *MockClient, checkFns ...func(t *test
// Ensure every nonce was unique. // Ensure every nonce was unique.
if resp := out[i].GetResponse(); resp != nil { if resp := out[i].GetResponse(); resp != nil {
require.NotContains(t, nonces, resp.Nonce) require.NotContains(t, nonces, resp.Nonce)
nonces[resp.Nonce] = struct{}{}
} }
} }
} }