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

Make node_telemetry.dos_udp more robust under tsan #2639

Conversation

cryptocode
Copy link
Contributor

Need to spin on some stat checks, as it otherwise fails intermittently under tsan. I used the opportunity to switch the test to ASSERT_TIMELY etc to reduce line count.

It's quite sensitive to timing, so I also had to do the - 1s thing, otherwise it occasionally hangs forever; maybe there's a better way.

@cryptocode cryptocode added the unit test Related to a new, changed or fixed unit test label Mar 5, 2020
@cryptocode cryptocode added this to the V21.0 milestone Mar 5, 2020
@cryptocode cryptocode requested a review from wezrule March 5, 2020 21:33
@cryptocode cryptocode self-assigned this Mar 5, 2020
@wezrule
Copy link
Contributor

wezrule commented Mar 31, 2020

As discussed it doesn't seem to be an issue anymore. Tested a TSAN run with 50 iterations with #2669 to make sure it wouldn't break anything too in the future.

@wezrule wezrule closed this Mar 31, 2020
@zhyatt zhyatt removed this from the V21.0 milestone Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit test Related to a new, changed or fixed unit test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants