-
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
[Libbeat] Flaky TestWatcherDie test #7906
Comments
Adding more details here, This really look like a timing issues in the test suite. // Check it doesn't get removed while we request meta for the container
for i := 0; i < 18; i++ {
watcher.Container("0332dbd79e20")
assert.Equal(t, 1, len(watcher.Containers()))
time.Sleep(50 * time.Millisecond)
}
// Checks a max of 10s for the watcher containers to be updated
for i := 0; i < 100; i++ {
// Now it should get removed
time.Sleep(100 * time.Millisecond)
if len(watcher.Containers()) == 0 {
break
}
} |
@jsoriano Test still fails quite often. The PR seems to be stalled for quite some time. |
Let's see whether this still applies or we should close it |
I will take another look, maybe we can refactor the docker watcher to reuse |
I am going to skip these tests by now. |
Link: https://beats-ci.elastic.co/job/elastic+beats+master+multijob-windows/beat=libbeat,label=windows/1331/console
Platform: Windows
Error
The text was updated successfully, but these errors were encountered: