Skip to content
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

Re-enable timeout tests on Travis + other fixes #2415

Merged
merged 3 commits into from Oct 20, 2016

Conversation

mscdex
Copy link
Contributor

@mscdex mscdex commented Oct 14, 2016

What started out as a simple re-enabling of tests/test-timeout.js on Travis has turned into more cleanup and fixes along the way.

If you want any of these commits parted out into separate PRs, let me know.

I have tested these commits on Travis many times now and each time all 4 node targets have been green, so I am fairly confident not only about tests/test-timeout.js, but also flaky tests in tests/test-pipes.js, and other random failures.

One possibly "major" change included here is the change in timeout behavior. IMHO the timeout changes (in request.js) I've provided here more accurately reflect the intended behavior.

@mscdex mscdex force-pushed the tests-timeout-enable-travis branch 12 times, most recently from 53c9b98 to c9e0980 Compare October 14, 2016 08:48
@mscdex mscdex closed this Oct 14, 2016
@mscdex mscdex reopened this Oct 14, 2016
@mscdex mscdex closed this Oct 14, 2016
@mscdex mscdex reopened this Oct 14, 2016
@mscdex mscdex force-pushed the tests-timeout-enable-travis branch 14 times, most recently from 5a3bce9 to 20eacf8 Compare October 14, 2016 10:37
@mscdex mscdex force-pushed the tests-timeout-enable-travis branch 11 times, most recently from 9f7cfa2 to b5350d4 Compare October 14, 2016 11:31
@mscdex mscdex changed the title Re-enable timeout tests on Travis Re-enable timeout tests on Travis + other fixes Oct 14, 2016
@simov
Copy link
Member

simov commented Oct 19, 2016

Hi @mscdex

I think only the timeout change + its related test changes should be placed into separate PR. Also what about your other PR #2414 ?

The rest of the changes can be left out here.

Thanks for contributing!

Recent changes to timeout handling now allow these tests to pass
successfully on Travis CI.
Not only does this avoid problems with the fixed port already
being used on the local system, but it could also avoid cascading
test failures and potential race conditions between tests.
@mscdex mscdex force-pushed the tests-timeout-enable-travis branch from b5350d4 to 3804428 Compare October 19, 2016 16:54
@mscdex
Copy link
Contributor Author

mscdex commented Oct 19, 2016

@simov I've moved those commits to #2431. That PR will probably need to be merged first before this PR, since the reliability of Travis depends on it.

#2414 is about solving a separate, unrelated issue that I encountered locally on my own machine when running tests. I think I also saw the same issue happen on Travis at some point?

Let me know if this all looks alright now.

@simov simov merged commit 8c04a23 into request:master Oct 20, 2016
@simov
Copy link
Member

simov commented Oct 20, 2016

👍

@mscdex mscdex deleted the tests-timeout-enable-travis branch November 15, 2016 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants