RFR: 8179227: com/sun/management/OperatingSystemMXBean/TestTotalSwap.java: Expected total swap size ... but getTotalSwapSpaceSize returned ...

Leonid Mesnik lmesnik at openjdk.java.net
Thu Jun 16 00:31:37 UTC 2022


The failure is very intermittent and I wasn't able to reproduce it.

I suspect that the swap might be changed during test execution so I add the corresponding check. 

If test still fails after fix we should at least exclude this potential problem.

-------------

Commit messages:
 - 8179227

Changes: https://git.openjdk.org/jdk/pull/9174/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9174&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8179227
  Stats: 33 lines in 1 file changed: 14 ins; 16 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/9174.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9174/head:pull/9174

PR: https://git.openjdk.org/jdk/pull/9174


More information about the serviceability-dev mailing list