Skip to content

Integration Tests: change 1ms sleeps to 50ms#422

Merged
nshalman merged 3 commits intofsnotify:mainfrom
nshalman:integration-tests-50ms
Jan 20, 2022
Merged

Integration Tests: change 1ms sleeps to 50ms#422
nshalman merged 3 commits intofsnotify:mainfrom
nshalman:integration-tests-50ms

Conversation

@nshalman
Copy link
Copy Markdown
Contributor

@nshalman nshalman commented Jan 20, 2022

What does this pull request do?

When testing the FEN code repeatedly and under
system load I can sometimes get these tests to fail
with a missed WRITE event. With these longer sleeps
I have been unable to produce any test failures.

This is unashamedly in support of #12 / #371

Additionally, this PR gives slightly more friendly names to the sleep durations based on their purposes.

Where should the reviewer start?

Is there any good reason not to do this? It seems reasonable to me and
it prevents spurious test failures.

How should this be manually tested?

N/A

When testing the FEN code repeatedly and under
system load I can sometimes get these tests to fail
with a missed WRITE event. With these longer sleeps
I have been unable to produce any test failures.
nathany
nathany previously approved these changes Jan 20, 2022
@nshalman nshalman merged commit f482481 into fsnotify:main Jan 20, 2022
@nshalman nshalman deleted the integration-tests-50ms branch January 20, 2022 02:37
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.

2 participants