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

lib/fs: Unflake watch tests (fixes #4687) #4715

Closed
wants to merge 1 commit into from

Conversation

calmh
Copy link
Member

@calmh calmh commented Jan 28, 2018

Purpose

This removes a number of timing related things, leaving just the total test timeout now bumped to one minute. Normally we get the filesystem events within a second or so, so this doesn't affect the test time in the successfull case. If we don't actually get the events we expect within a minute I think we are legitimately in "failed" territory.

Testing

I've run this in a loop on the Mac builder (which often fails with the code in master) and it's been fine for a few minutes. Leaving it up to the build server to see if this passes on linux etc...

This removes a number of timing related things, leaving just the total
test timeout now bumped to one minute. Normally we get the filesystem
events within a second or so, so this doesn't affect the test time in
the successfull case. If we don't actually get the events we expect
within a minute I think we are legitimately in "failed" territory.
@calmh
Copy link
Member Author

calmh commented Jan 28, 2018

I've rerun it on the Windows & Linux builders a couple of times and it doesn't seem more broken than before at least.

@imsodin
Copy link
Member

imsodin commented Jan 28, 2018

@st-review lgtm

@st-review
Copy link

@imsodin: Noted! Need another LGTM or explicit merge command.

@AudriusButkevicius
Copy link
Member

@st-review lgtm

@st-review
Copy link

👌 Merged as 0fe3ae7. Thanks, @calmh!

@st-review st-review added the pr-merged Legacy label used in the past for pull requests merged to the main tree label Jan 28, 2018
@st-review st-review closed this Jan 28, 2018
st-review pushed a commit that referenced this pull request Jan 28, 2018
This removes a number of timing related things, leaving just the total
test timeout now bumped to one minute. Normally we get the filesystem
events within a second or so, so this doesn't affect the test time in
the successfull case. If we don't actually get the events we expect
within a minute I think we are legitimately in "failed" territory.

GitHub-Pull-Request: #4715
LGTM: imsodin, AudriusButkevicius
@calmh calmh deleted the unflake branch February 3, 2018 07:51
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jan 29, 2019
@syncthing syncthing locked and limited conversation to collaborators Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion pr-merged Legacy label used in the past for pull requests merged to the main tree
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants