summaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2018-12-10 13:57:59 +0100
committerBjørn Christian Seime <bjorncs@oath.com>2018-12-10 14:04:59 +0100
commit2db810113ffc50b26cae63c034cdf0f33b859c64 (patch)
tree961e937d17ec40362498ceda51358761b4d08bcc /jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty
parent36221bb67238256d46cb0fe69ca682172d2bec65 (diff)
Change memory threshold to a percentage of total memory
Diffstat (limited to 'jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty')
-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 479cf514e30..9622edc5429 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)
- .maxMemoryUsage(100*1024)
+ .maxHeapUtilization(0.99)
.maxConnections(10)));
driver.client().get("/status.html")
.expectStatusCode(is(OK));