-
Notifications
You must be signed in to change notification settings - Fork 2k
Fixing org.opensearch.monitor.os.OsProbeTests::testLogWarnCpuMessageOlyOnes when CGroups are not available #2101
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
Fixing org.opensearch.monitor.os.OsProbeTests::testLogWarnCpuMessageOlyOnes when CGroups are not available #2101
Conversation
…nlyOnes when CGroups are not available Signed-off-by: Andriy Redko <[email protected]>
Can one of the admins verify this patch? |
Ahhh true. Not all distros and OS wanna have cgorups. thnx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my education, what platform were you able to reproduce this on?
…nlyOnes when CGroups are not available (#2101) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit a942b27)
Mine is Ubuntu 21.10, but Windows will fail as well |
…nlyOnes when CGroups are not available (#2101) (#2102) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit a942b27) Co-authored-by: Andriy Redko <[email protected]>
…nlyOnes when CGroups are not available (opensearch-project#2101) Signed-off-by: Andriy Redko <[email protected]>
…nlyOnes when CGroups are not available (#2101) (#3433) Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko [email protected]
Description
The newly added
org.opensearch.monitor.os.OsProbeTests::testLogWarnCpuMessageOlyOnes
test case always assumes that CGroups are available but this may not be the case. The test fails otherwise:Issues Resolved
N/A
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.