Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all remaining tests failing with timeout after 30-ish tests pass #182

Open
welelay opened this issue Jun 6, 2016 · 2 comments
Open

all remaining tests failing with timeout after 30-ish tests pass #182

welelay opened this issue Jun 6, 2016 · 2 comments

Comments

@welelay
Copy link

welelay commented Jun 6, 2016

I have ~60 test scenarios.
I run them in sequence with gagarin -b.
After the 1st one, I run them with gagarin -B to reuse the build.
They are "fat" tests, ie. each may require 10-30 seconds to run.
The first ~30 will pass, but then gagarin will be stuck starting the 31st and all further tests will result in timeout at startup. This used to work before meteor 1.3.

The full list of options I give to gagarin is -t 150000 -l 150000 -T 20000 (ridiculously long timeouts).

The error is

 1) My test "before all" hook:
     Error: timeout of 150000ms exceeded
    at [object Object].<anonymous> (/usr/lib/node_modules/gagarin/node_modules/mocha/lib/runnable.js:158:19)
    at Timer.listOnTimeout (timers.js:92:15)
@apendua
Copy link
Member

apendua commented Jun 6, 2016

@welelay Can you try running it with verbose mode on, gagarin --verbose and show me the logs that pops out right before you get this error?

@welelay
Copy link
Author

welelay commented Jun 29, 2016

I have an example with timeout on the after all hook

  test   stopping meteor instance
 system  dropping database mongodb://127.0.0.1:4683/gagarin_671_1467196939078
  test   meteor instance terminated
  test   stopping browser instance
    1) "after all" hook

  27 passing (4m)
  1 failing

  1) FF Moderation "after all" hook:
     Error: timeout of 200000ms exceeded
    at [object Object].<anonymous> (/usr/lib/node_modules/gagarin/node_modules/mocha/lib/runnable.js:158:19)
    at Timer.listOnTimeout (timers.js:92:15)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants