-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
testResultsProcessor as async function? #11683
Comments
I am facing similar issue. I run asynchronous function in my results processor, no matter how I handle outcome of it, process always returns code 1 instead of 0. async function processResults(results) {
await asyncFunctionThatReturnsVoid(results);
return results;
}
module.exports = processResults; |
We don't support it being async today. Trivial change tho, PR welcome! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am trying to use testResultsProcessor and exported a function as
On my local machine, it works fine, the results are uploaded to Testrail.
The weird stuff happens when I run a job in CircleCI: the tests are green, the results are uploaded to TestRail, BUT the job is fails with the following error:
I have figured out that this due to the async function exported.
Also tried this way:
....but the async block is not called.
Does anyone have any clue on this?
The text was updated successfully, but these errors were encountered: