diff --git a/hedera-node/hedera-app/src/test/java/com/hedera/node/app/workflows/handle/metrics/OpWorkflowMetricsTest.java b/hedera-node/hedera-app/src/test/java/com/hedera/node/app/workflows/handle/metrics/OpWorkflowMetricsTest.java index 131aef712cd7..228be9e61309 100644 --- a/hedera-node/hedera-app/src/test/java/com/hedera/node/app/workflows/handle/metrics/OpWorkflowMetricsTest.java +++ b/hedera-node/hedera-app/src/test/java/com/hedera/node/app/workflows/handle/metrics/OpWorkflowMetricsTest.java @@ -72,7 +72,7 @@ void testInitialValue() { .isEqualTo(0); assertThat(metrics.getMetric("app", "cryptoCreateDurationAvg").get(VALUE)) .isEqualTo(0); - assertThat(metrics.getMetric("app", "cryptoCreateThrottledTps").get(VALUE)) + assertThat(metrics.getMetric("app", "cryptoCreateThrottledTxns").get(VALUE)) .isSameAs(0L); } @@ -154,7 +154,7 @@ void testIncrementThrottled() { handleWorkflowMetrics.incrementThrottled(HederaFunctionality.CRYPTO_CREATE); // then - final var throttledMetric = (Counter) metrics.getMetric("app", "cryptoCreateThrottledTps"); + final var throttledMetric = (Counter) metrics.getMetric("app", "cryptoCreateThrottledTxns"); assertThat(throttledMetric.get()).isSameAs(1L); }