-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Stabilize circleci tests #4348
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I've done some initial digging into the test issues; some of these issues I'm seeing could possibly be related to external requests being successfully made during run of the test suite, especially the ones that successfully load third-party code and run it. I've categorized all the external requests I see being made by the test suite by the type of request. We should probably take efforts to see how we can stop these requests from being made as part of the test running. I know I did some initial work by mocking request makers, such as A lot are ajax requests using our internal module that I thought we stubbed? ...but are getting through somehow? The currency module is being loaded by some spec files (besides the currency module spec file) and so requests are being made to the currency file. Some adapters are appending third-party code and running it outside our stubbed The adapters loading and running external code seem the most problematic since we don't know what they're doing and they could technically be doing anything, including changing over time, and affecting our tests randomly.
|
The issues I outlined above are all fixed with the merge of #4687. There are possibly other issues still present involving race conditions (there seem to be some issues in the userId tests with intermittent failures) as well as some issues with circle ci failing on time limit. The later could be because of occasionally slow running tests...? but probably more likely, something is occasionally causes the test suite to hang (open handlers, etc). |
hey @Fawke how is this going? |
Hi @mkendall07, I just created a PR. #4840 |
Type of issue
21 of the last 30 builds failed on master. We need to pinpoint and fix the issues to make tests stable again.
https://circleci.com/gh/prebid/Prebid.js/tree/master
The text was updated successfully, but these errors were encountered: