Test just one request
@@ -595,7 +595,6 @@ public class HttpServerTest {
}
{
- driver.client().newGet("/status.html").execute();
driver.client().newGet("/status.html").execute();
List<HttpResponseStatisticsCollector.StatisticsEntry> stats = statisticsCollector.takeStatistics();
assertEquals(1, stats.size());
@@ -603,7 +602,7 @@ public class HttpServerTest {
assertEquals("GET", stats.get(0).method);
assertEquals("http.status.2xx", stats.get(0).name);
assertEquals("read", stats.get(0).requestType);
- assertEquals(2, stats.get(0).value);
+ assertEquals(1, stats.get(0).value);
}
{
