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

tests: further deflake watcher tests for travis-ci #8

Merged
merged 2 commits into from
Nov 27, 2018

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented Nov 26, 2018

start by making backtraces a bit easier to read

@ploxiln
Copy link
Owner Author

ploxiln commented Nov 26, 2018

(triggering a bunch of builds until I get the rare failure + backtraces)

@ploxiln
Copy link
Owner Author

ploxiln commented Nov 26, 2018

couldn't trigger the failure again despite a bunch of retries ... will just leave this open a while in case another PR gets it again

@ploxiln ploxiln force-pushed the watcher_still_flaky branch from 3e35b01 to cf7707f Compare November 27, 2018 00:06
move goroutine loop into named function,
to make debugging backtraces a bit easier

make debugging backtraces a bit easier
since the watcher tests are still a bit flaky on travis-ci

extend replacement wait time from 2 seconds to 5 seconds -
originally it looped waiting indefinitely, so make it a bit
more forgiving, hopefully it won't be a big problem for many users ;)
@ploxiln ploxiln force-pushed the watcher_still_flaky branch from cf7707f to 487750f Compare November 27, 2018 00:16
@ploxiln
Copy link
Owner Author

ploxiln commented Nov 27, 2018

I haven't been able to see the test failure on travis-ci again in the past 40 or so attempts across various PRs so I'm giving up. I also never succeeded in seeing any failure when testing locally, after the last watcher-test-deflake PR, #3. Maybe the rare-linux-hang fix in fsnotify v1.4.7 will help prevent these test failures ever re-occuring.

@ploxiln ploxiln merged commit eebef9f into master Nov 27, 2018
@ploxiln ploxiln deleted the watcher_still_flaky branch January 6, 2019 13:16
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.

1 participant