mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
test: bump timeout from TestAccountReloadServiceImportPanic (#4374)
It can take slightly longer in Travis close to the deadline so bumping
it for this test:
```
=== RUN TestAccountReloadServiceImportPanic
--- PASS: TestAccountReloadServiceImportPanic (10.60s)
=== RUN TestAccountReloadServiceImportPanic
accounts_test.go:3621: Have not received all responses, want 187876 got 182649
--- FAIL: TestAccountReloadServiceImportPanic (14.09s)
```
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user