8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137
Reviewed-by: lmesnik, sspitsyn
This commit is contained in:
parent
10fcad70b3
commit
fa5ad700bb
test/jdk/jdk/internal/platform/docker
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -48,6 +48,8 @@ public class MetricsMemoryTester {
|
||||
case "softlimit":
|
||||
testMemorySoftLimit(args[1]);
|
||||
break;
|
||||
default:
|
||||
throw new RuntimeException("unknown args: " + args[0] + " for MetricsMemoryTester");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -75,7 +75,7 @@ public class TestDockerMemoryMetrics {
|
||||
}
|
||||
testOomKillFlag("100m", true);
|
||||
|
||||
testMemoryFailCount("64m");
|
||||
testMemoryFailCount("128m");
|
||||
|
||||
testMemorySoftLimit("500m","200m");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user