summaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/test
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-12-12 12:04:21 +0100
committergjoranv <gv@oath.com>2018-12-12 12:04:21 +0100
commit7cb63ebe0c9eabc23a569044ec6d9fbf3f1a5a13 (patch)
treec2117025ab6240ba3e0cd9d6782db746182f4a6f /jdisc_http_service/src/test
parent001c1d6da54d2b052b5b677356be43136c4d8474 (diff)
Revert "Change memory threshold to a percentage of total memory"
This reverts commit 2db810113ffc50b26cae63c034cdf0f33b859c64.
Diffstat (limited to 'jdisc_http_service/src/test')
-rw-r--r--jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java
index 9622edc5429..479cf514e30 100644
--- a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java
+++ b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java
@@ -490,7 +490,7 @@ public class HttpServerTest {
.throttling(new Throttling.Builder()
.enabled(true)
.maxAcceptRate(10)
- .maxHeapUtilization(0.99)
+ .maxMemoryUsage(100*1024)
.maxConnections(10)));
driver.client().get("/status.html")
.expectStatusCode(is(OK));