Skip to content

Commit fa5ad70

Browse files
SendaoYanSerguei Spitsyn
SendaoYan
authored and
Serguei Spitsyn
committed
8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137
Reviewed-by: lmesnik, sspitsyn
1 parent 10fcad7 commit fa5ad70

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/jdk/jdk/internal/platform/docker/MetricsMemoryTester.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,8 @@ public static void main(String[] args) {
4848
case "softlimit":
4949
testMemorySoftLimit(args[1]);
5050
break;
51+
default:
52+
throw new RuntimeException("unknown args: " + args[0] + " for MetricsMemoryTester");
5153
}
5254
}
5355

test/jdk/jdk/internal/platform/docker/TestDockerMemoryMetrics.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -75,7 +75,7 @@ public static void main(String[] args) throws Exception {
7575
}
7676
testOomKillFlag("100m", true);
7777

78-
testMemoryFailCount("64m");
78+
testMemoryFailCount("128m");
7979

8080
testMemorySoftLimit("500m","200m");
8181

0 commit comments

Comments
 (0)