test: bump timeout from TestAccountReloadServiceImportPanic

It can take slightly longer in a testing environment.

Signed-off-by: Waldemar Quevedo <wally@nats.io>
This commit is contained in:
Waldemar Quevedo
2023-08-07 16:42:12 -07:00
parent 6ca7887992
commit 2630e9b597

View File

@@ -3618,7 +3618,7 @@ func TestAccountReloadServiceImportPanic(t *testing.T) {
wg.Wait()
totalRequests := requests.Load()
checkFor(t, 10*time.Second, 250*time.Millisecond, func() error {
checkFor(t, 20*time.Second, 250*time.Millisecond, func() error {
resp := responses.Load()
if resp == totalRequests {
return nil