diff --git a/test/unit/org/apache/cassandra/db/CounterMutationCallbackTest.java b/test/unit/org/apache/cassandra/db/CounterMutationCallbackTest.java index ec0d2e5bb9a8..e931ab96e201 100644 --- a/test/unit/org/apache/cassandra/db/CounterMutationCallbackTest.java +++ b/test/unit/org/apache/cassandra/db/CounterMutationCallbackTest.java @@ -172,12 +172,12 @@ public void testCounterMutationCallback() double actual = SensorsCustomParams.sensorValueFromBytes(v); assertThat(actual).isEqualTo(COUNTER_MUTATION_WRITE_BYTES * expectedSensorValueMultiplier); }); - assertThat(customParam).hasEntrySatisfying("INTERNODE_MSG_BYTES_REQUEST.Counter", + assertThat(customParam).hasEntrySatisfying("INTERNODE_BYTES_REQUEST.Counter", v -> { double actual = SensorsCustomParams.sensorValueFromBytes(v); assertThat(actual).isEqualTo(COUNTER_MUTATION_INTERNODE_BYTES * expectedSensorValueMultiplier); }); - assertThat(customParam).hasEntrySatisfying("INTERNODE_MSG_BYTES_TABLE.Counter", + assertThat(customParam).hasEntrySatisfying("INTERNODE_BYTES_TABLE.Counter", v -> { double actual = SensorsCustomParams.sensorValueFromBytes(v); assertThat(actual).isEqualTo(COUNTER_MUTATION_INTERNODE_BYTES * expectedSensorValueMultiplier);