-
Notifications
You must be signed in to change notification settings - Fork 98
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
Failure when the job contains a lot of tests. #123
Comments
All you have to do is change the reporting code on your test page. Change the output of the Jasmine Reporter ( Another option: Break your test suite into two pages. Half the results per page. This is an issue with the Sauce Labs Unit Test API, not grunt-saucelabs, so I'm closing the issue. |
Yes, thanks, the 2nd one was the workaround I have come up with myself, too. |
How about I add better error reporting on the job, as part of #102 |
Thank you for expending time on this issue! |
It will be a combination of better job error reporting, and invalid API Better job error reporting will be like: "job timed out after XX grunt-sacuelabs will then pass these forward to the cli. On Wed, May 21, 2014 at 1:44 PM, gvas [email protected] wrote:
|
…main advantage is that the control flow has become much simpler, errors from multiple sources can be handled at a single point (the grunt task's entry point). Errors caused by too big test results are correctly reported (axemclion#123). Added new grunt tasks for testing test failures and too big test results.
I've got another idea. The result element's null value indicates that the 64KB limit is exceeded. When this is detected, given the job id we can download the job's assets including the sauce log, among others. It contains the full test result. I'm going to work on this. |
Ooh nice. Feel free to submit a PR for that. I'm hoping to devote time to fixing that problem with Sauce. I'm thinking of truncating the long results. issuing a warning, but the job will still pass/fail correctly. |
this is a known bug on the sauce labs side. see the following issues (there are others too): axemclion/grunt-saucelabs#168 axemclion/grunt-saucelabs#123
this is a known bug on the sauce labs side. see the following issues (there are others too): axemclion/grunt-saucelabs#168 axemclion/grunt-saucelabs#123
this is a known bug on the sauce labs side. see the following issues (there are others too): axemclion/grunt-saucelabs#168 axemclion/grunt-saucelabs#123
this is a known bug on the sauce labs side. see the following issues (there are others too): axemclion/grunt-saucelabs#168 axemclion/grunt-saucelabs#123
this is a known bug on the sauce labs side. see the following issues (there are others too): axemclion/grunt-saucelabs#168 axemclion/grunt-saucelabs#123
When a job contains a lot of tests then grunt-saucelabs incorrectly reports that the tests have failed. I think this is related to the 64KB size limit put on the custom-data field as mentioned in the SauceLabs documentation in the Record Custom Data section.
I have 72 jasmine tests. The REST API in my case returns the following JSON:
Note that the
result
element's value is null and there is nopassed
element. This makes grunt-saucelabs to believe that the tests have failed.Removing some tests fixes the problem (as a symptomatic treatment).
The text was updated successfully, but these errors were encountered: