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 test_libbcc failure with 4.15. #1687

Merged
merged 1 commit into from
Apr 16, 2018
Merged

fix test_libbcc failure with 4.15. #1687

merged 1 commit into from
Apr 16, 2018

Conversation

yonghong-song
Copy link
Collaborator

The test sleeps one second and expects the perf counter to
be one second or more. But in reality (probably esp. in VM
which I conducted my experiments), I mostly saw counters
between 0.9s - 1s and occasionally 0.8s - 0.9s.

So be a little bit conservative here when checking the
result.

Signed-off-by: Yonghong Song yhs@fb.com

The test sleeps one second and expects the perf counter to
be one second or more. But in reality (probably esp. in VM
which I conducted my experiments), I mostly saw counters
between 0.9s - 1s and occasionally 0.8s - 0.9s.

So be a little bit conservative here when checking the
result.

Signed-off-by: Yonghong Song <yhs@fb.com>
@4ast 4ast merged commit 6f53be3 into master Apr 16, 2018
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.

2 participants