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

Fix the analyzer test failure caused by inaccurate timing wait #9181

Closed
wants to merge 1 commit into from

Conversation

zhichao-cao
Copy link
Contributor

Fix the analyzer test failure caused by inaccurate timing wait. The wait time at different system might be different or cause the delay, now we do not accurately count the lines. Only in a very rare extreme case, test will ignore the part exceed the timing of 1 second.

test plan: make check

@facebook-github-bot
Copy link
Contributor

@zhichao-cao has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@pdillinger pdillinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably "less flaky" (OK to ship) but still relying on something completing before a sleep completes. Can you use a sync point callback to signal when one of the qps samples is taken?

@zhichao-cao
Copy link
Contributor Author

This is probably "less flaky" (OK to ship) but still relying on something completing before a sleep completes. Can you use a sync point callback to signal when one of the qps samples is taken?

Let me ship it first to fix the test failures and I will look at the way suggested. Thanks for the review!

@facebook-github-bot
Copy link
Contributor

@zhichao-cao merged this pull request in f429466.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants