Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make platform specific assumptions in OS & Process probes tests #12929
This pull request changes the tests assumptions in
There is good chance that some tests fail on some platforms/JVM but it's a good thing since it will help us to know were stats are available.
It also fixed the test ̀ProcessProbeTests.testProcessStats` that failed on CI with the following error:
Because CPU percent can be negative if the system recent CPU usage is not available and the test checks that it was greater or equal to 0. This commit fix this.