-
Notifications
You must be signed in to change notification settings - Fork 15
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
Investigate non-deterministic CI failures #19
Comments
What is the error message like when it fails? |
From my observations, error messages differed from run to run. Here's one example:
Perhaps randomizing snippet filenames fixes this issue. I'll observe and close this issue if that is the case. |
Yep. That was the same problem. My recent push should have used random name now. |
One downside to randomizing snippet filenames is that each test invocation generates a new file in A better strategy may be to use the testcase name as the snippet filename, e.g. Or, if the testcase name is not accessible, a good half-measure would be to use a common prefix for all snippet filenames, e.g. |
I think it's better to run tests sequentially anyways (for reproducibility) so let's just turn parallelism off (there's an sbt flag to do that, check LMS repo). But let's also name files according to test names, as you suggest @dan-zheng. |
|
Travis CI is failing non-deterministically for some reason.
Usually it takes me 2-3 attempts of retriggering CI for tests to pass.
The text was updated successfully, but these errors were encountered: