From 752f290e434989d2bc49b707c7418c858e3953dc Mon Sep 17 00:00:00 2001 From: jonmv Date: Fri, 28 Oct 2022 09:35:49 +0200 Subject: Abandon in-flight metrics requests on deconstruct --- .../ai/vespa/metricsproxy/http/application/NodeMetricsClientTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'metrics-proxy/src/test/java/ai') diff --git a/metrics-proxy/src/test/java/ai/vespa/metricsproxy/http/application/NodeMetricsClientTest.java b/metrics-proxy/src/test/java/ai/vespa/metricsproxy/http/application/NodeMetricsClientTest.java index f9f5c96e598..0d3782a6e51 100644 --- a/metrics-proxy/src/test/java/ai/vespa/metricsproxy/http/application/NodeMetricsClientTest.java +++ b/metrics-proxy/src/test/java/ai/vespa/metricsproxy/http/application/NodeMetricsClientTest.java @@ -32,7 +32,7 @@ import static org.junit.Assert.assertTrue; /** * Two optimizations worth noting: - * + *

* 1. Using a ClassRule for the wire mocking means it is reused between test methods. * 2. Configuring stubs on the rule is faster than using the static WireMock.stubFor method. * -- cgit v1.2.3