[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8283279: [Testbug] Improve TestGetSwapSpaceSize
From:       Severin Gehwolf <sgehwolf () openjdk ! java ! net>
Date:       2022-03-23 15:03:38
Message-ID: kecvOZYO8gBB5puvDGNWhq1trcLR9A2vOdM7Pp5cjvU=.8d76da49-2e30-4c78-a89a-50407f76dcc4 () github ! com
[Download RAW message or body]

On Thu, 17 Mar 2022 13:40:53 GMT, Severin Gehwolf <sgehwolf@openjdk.org> wrote:

> Please review this container test improvement. The test in question only makes \
> sense iff the total swap space size as reported by the container aware \
> OperatingSystemMXBean is `0`. If that's not the case, then something else might be \
> amiss, e.g. OperatingSystemMXBean reporting the host swap limits. In such a case a \
> passing test tells us nothing. Certainly not if the fix from \
> [JDK-8242480](https://bugs.openjdk.java.net/browse/JDK-8242480) is present or not. 
> Testing:
> - [x] Manual with and without the code fix of JDK-8242480. Still passes with the \
> fix, and fails without. Tested the test on cgroups v1 and cgroups v2.

This pull request has now been integrated.

Changeset: a7716006
Author:    Severin Gehwolf <sgehwolf@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a77160065bb6f62314711514f7694fe50f0dc35b
                
Stats:     31 lines in 2 files changed: 22 ins; 1 del; 8 mod

8283279: [Testbug] Improve TestGetSwapSpaceSize

Reviewed-by: jiefu

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

PR: https://git.openjdk.java.net/jdk/pull/7854


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic