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

Attempt at fixing #560 #564

Merged
merged 1 commit into from
Jul 10, 2021

Conversation

brenuart
Copy link
Collaborator

@brenuart brenuart commented Jul 8, 2021

Not easy to reproduce... even more when we don't have to full test execution logs :-(
I managed to get an issue twice locally and I think I could fix them. The idea behind the fix is to wait until the listener#connectionOpen() before evaluating the asserts. If we start earlier, the internal state may not yet be 100% stable...

Related issue: #560

@philsttr philsttr linked an issue Jul 10, 2021 that may be closed by this pull request
@philsttr philsttr merged commit 68b8be1 into logfellow:main Jul 10, 2021
@philsttr philsttr added this to the 7.0 milestone Jul 10, 2021
@brenuart brenuart deleted the gh560-flaky-tcp-appender-test branch July 10, 2021 15:41
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.

LogstashTcpSocketAppenderTest.testConnectOnPrimary is not stable
2 participants