Is your feature request related to a problem? Please provide an existing Issue # , or describe.
Add tests for os/ThreadCPU.java using OSTests.java, a class to abstract over testing classes in os. ThreadSchedTests is rewritten to use OSTests.java.
Follow up to #47
Check List
[X] New functionality includes testing.
[X] All tests pass
[X] Commits are signed per the DCO using --signoff
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.
➜ ./gradlew test --tests ThreadCPUTests
> Task :test
org.opensearch.performanceanalyzer.commons.os.ThreadCPUTests > testMetrics STARTED
org.opensearch.performanceanalyzer.commons.os.ThreadCPUTests > testMetrics PASSED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 6s
6 actionable tasks: 5 executed, 1 up-to-date
Is your feature request related to a problem? Please provide an existing Issue # , or describe. Add tests for
os/ThreadCPU.java
usingOSTests.java
, a class to abstract over testing classes inos
.ThreadSchedTests
is rewritten to useOSTests.java
.Follow up to #47
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.