-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[FlakyTest] TestFileWatcher/does_not_emit_events_for_empty_files/emits_a_create_event_once_something_is_written_to_the_empty_file #41848
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
…s_a_create_event_once_something_is_written_to_the_empty_file (#41848) (#41851) * Fixes flaky test TestFileWatcher (cherry picked from commit 1660894) Co-authored-by: Khushi Jain <[email protected]>
Proposed commit message
This test fails due to timing in file creation and subsequent testing for file existence. This test case is especially hard to manifest if your file system caches file creation operation. The provided changes were tested multiple times in an isolated GCP environment and was not reproducible.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues
Closes #41209