-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
TestProjectsIntegrationTest times out frequently under TravisCI #4204
Comments
Noting that a few tries in #4201 using |
The fix in #4205 looks like it will cure this. |
stuhood
pushed a commit
that referenced
this issue
Jan 25, 2017
### Problem See #4204: because all tests defined under testprojects are run in a single test method and pytest only outputs anything when a method has completed, travis began failing test runs due to lack of output. Additionally, when this test failed, your only recourse was to run the entire thing. ### Solution Split the test into "select targets to test" and "test them", and then shard the result N ways on a method-by-method basis. In theory this could have been done bash-wise in `ci.sh`... but frankly, I don't want to grow a bash script if I can avoid it. ### Result The test is now sharded `N==8` ways.
lenucksi
pushed a commit
to lenucksi/pants
that referenced
this issue
Apr 25, 2017
### Problem See pantsbuild#4204: because all tests defined under testprojects are run in a single test method and pytest only outputs anything when a method has completed, travis began failing test runs due to lack of output. Additionally, when this test failed, your only recourse was to run the entire thing. ### Solution Split the test into "select targets to test" and "test them", and then shard the result N ways on a method-by-method basis. In theory this could have been done bash-wise in `ci.sh`... but frankly, I don't want to grow a bash script if I can avoid it. ### Result The test is now sharded `N==8` ways.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Due to the monolithic nature of
TestProjectsIntegrationTest
, its two test methods can each take > than the default maximum of 10 minutes TravisCI waits to see console output. This needs to be fixed to remove thetravis_wait
employed in #4201 as a workaround, and in general for better ability to fine-grain schedule tests.The text was updated successfully, but these errors were encountered: