Skip to content

Commit e39da3e

Browse files
committed
Fix testMetricsForRequestRangeNotSatisfied similarly
1 parent 0f34ac7 commit e39da3e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/repository-s3/src/internalClusterTest/java/org/elasticsearch/repositories/s3/S3BlobStoreRepositoryMetricsTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ public void testMetricsWithErrors() throws IOException {
228228
assertThat(getNumberOfMeasurements(plugin, HTTP_REQUEST_TIME_IN_MILLIS_HISTOGRAM, Operation.DELETE_OBJECTS), equalTo(1L));
229229
}
230230

231-
@AwaitsFix(bugUrl = "TODO NOMERGE")
232231
public void testMetricsForRequestRangeNotSatisfied() {
233232
final String repository = createRepository(randomRepositoryName());
234233
final String dataNodeName = internalCluster().getNodeNameThat(DiscoveryNode::canContainData);
@@ -250,8 +249,8 @@ public void testMetricsForRequestRangeNotSatisfied() {
250249
assertThat(getLongCounterValue(plugin, METRIC_REQUESTS_TOTAL, Operation.GET_OBJECT), equalTo(3 * batch));
251250
assertThat(getLongCounterValue(plugin, METRIC_OPERATIONS_TOTAL, Operation.GET_OBJECT), equalTo(batch));
252251
assertThat(getLongCounterValue(plugin, METRIC_UNSUCCESSFUL_OPERATIONS_TOTAL, Operation.GET_OBJECT), equalTo(batch));
253-
assertThat(getLongCounterValue(plugin, METRIC_EXCEPTIONS_TOTAL, Operation.GET_OBJECT), equalTo(batch));
254-
assertThat(getLongHistogramValue(plugin, METRIC_EXCEPTIONS_HISTOGRAM, Operation.GET_OBJECT), equalTo(batch));
252+
assertThat(getLongCounterValue(plugin, METRIC_EXCEPTIONS_TOTAL, Operation.GET_OBJECT), equalTo(3 * batch));
253+
assertThat(getLongHistogramValue(plugin, METRIC_EXCEPTIONS_HISTOGRAM, Operation.GET_OBJECT), equalTo(3 * batch));
255254
assertThat(
256255
getLongCounterValue(plugin, METRIC_EXCEPTIONS_REQUEST_RANGE_NOT_SATISFIED_TOTAL, Operation.GET_OBJECT),
257256
equalTo(batch)

0 commit comments

Comments
 (0)