-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"Timed out while running tests" #2494
Comments
You can configure a higher timeout value. I'd also consider removing (I'm closing this issue for housekeeping purposes, but let's keep the conversation going.) |
Without With Could the default |
It's too difficult. It's a "lack of test progress" timer, but it doesn't know why there is no progress. |
For the record, this is what a minimal build step looks like: {
"scripts": {
"test": "rollup test/*.ts --plugin typescript --dir .built/test --chunkFileNames _.mjs --entryFileNames [name].mjs && ava"
},
"ava": {
"files": [
".built/test/*.mjs"
]
}
} Not super elegant, but it works (refined-github/refined-github#3206) and also solves #2432 |
Did you figure this out without pre-compiling? as we like to run with debugger :-D |
Did someone find a solution or a workaround for this issue ? |
@lovasoa for our Windows developers they had to increase the timeout to 5m in the AVA config. Also; if the test has any errors in TS it will show this message; check your tests. |
@sculpt0r would you mind creating a separate discussion for this? |
I've been seeing more and more timeouts especially when running on GitHub Actions. I have very few and simple tests, so I'm not sure of why this times out so easily.
Test file that times out: https://github.com/sindresorhus/refined-github/blob/master/test/helpers.ts
✅ Example run that completes: https://github.com/sindresorhus/refined-github/runs/695138978?check_suite_focus=true
❌ Example run that times out: https://github.com/sindresorhus/refined-github/runs/693030486?check_suite_focus=true
The text was updated successfully, but these errors were encountered: