Testem process exits (times out?) after 10s with code 1, no error
See original GitHub issueIt seems to happen when my webpack process takes longer than 10s to build, I have this in my config:
{
"framework": "tap",
"launch_in_dev": ["PhantomJS"],
"launch_in_ci": ["PhantomJS"],
"src_files": ["tests/bundle.js"],
"serve_files": ["tests/bundle.js"],
"on_start": {
"command": "npm run build:test:watch",
"wait_for_text": "[built]"
},
"on_exit": {
"command": "rm tests/bundle.js"
}
}
The build:test:watch script basically does webpack --define process.env.NODE_ENV='\"test\"' tests/index.js tests/bundle.js --watch
Is there some timeout in testem that will kill the process if it doesn’t see the wait_for_text after 10s?
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Testem Chrome Timeouts · Issue #1021 - GitHub
It usually just tells us testem.js has not loaded . As the issue is intermittent it can be hard to reproduce. I've tried...
Read more >JUnit Test "Times Out" Despite Executing Quickly?
And the test doesn't really ends after a couple of seconds. Try focusing on the HttpConnection error (or add your code if you...
Read more >Debug BrowserStack Automate idle timeout error
In BrowserStack, a test session receives it, runs it, and expects another command to arrive. If a test session does not receive the...
Read more >Test passes in --server mode but fails without - Ember.JS
I have a weird behaviour when running tests with ember t in the Terminal, - there is one that fails with: Testem finished...
Read more >Common Error Messages | Sauce Labs Documentation
You'll see this error when your test suite is still running in a session that has lasted more than 1800 seconds (30 minutes)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

ah, ya that seems like a different case then what my pr resolved. For reference, I used
wtfnodeto figure out what was going on.This just won’t die! On testem 1.10.2 with the following config:
I’m still seeing it crash quite often with this at the end of the testem log:
Is there anything else I can do to try to help debug this?