-
Notifications
You must be signed in to change notification settings - Fork 619
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
analyze flaky TimerTest #345
base: master
Are you sure you want to change the base?
Conversation
|
Current findings:
Edit: sounds a little like https://www.quickfixj.org/jira/browse/QFJ-448 where Heartbeats are occassionally missing, especially with low Heartbeat intervals... |
After some more failures it seems indeed to happen on MacOS only. The timing seems to be a bit off, causing the heartbeat check to return false (normally
Maybe we should just ignore it, otherwise I am asking myself why it only happens on MacOS. |
How often does it happen? I tried to recreate it, but I modified the YAML script slightly to run "TimerTest" only and after 5 attempts it passed every time on MacOS Java 8. Either it takes more attempts to fail or it makes me think that some other test case does not properly close/recycle a resource on MacOS and interferes with this test. |
In the complete test suite I think it failed about every two or three runs. |
The test uses a References: |
try to use AdoptOpenJDK
…kfixj into flaky-timer-test
…kfixj into flaky-timer-test
- use ScreenLogFactory in ATServer to see all logging
- set lastSentTime earlier in sendRaw()
With additional logging we can see that there is no heartbeat sent for three seconds. Added generation of thread dump after two seconds...