diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-12-10 13:57:59 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-12-10 14:04:59 +0100 |
commit | 2db810113ffc50b26cae63c034cdf0f33b859c64 (patch) | |
tree | 961e937d17ec40362498ceda51358761b4d08bcc /jdisc_http_service/src/test | |
parent | 36221bb67238256d46cb0fe69ca682172d2bec65 (diff) |
Change memory threshold to a percentage of total memory
Diffstat (limited to 'jdisc_http_service/src/test')
-rw-r--r-- | jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java | 2 |
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)); |