Skip to content

Commit

Permalink
fix metric name in ZookeeperUndeliveredMessageLogTest
Browse files Browse the repository at this point in the history
  • Loading branch information
moscicky committed Jul 24, 2023
1 parent 6f05d1a commit 47d93cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ private void assertThatMetricsHaveBeenReported(int persistedMessageCount) {
assertThat(hermesMetrics.meter(PERSISTED_UNDELIVERED_MESSAGES_METER).getCount()).isEqualTo(persistedMessageCount);
assertThat(hermesMetrics.histogram(PERSISTED_UNDELIVERED_MESSAGE_SIZE).getCount()).isEqualTo(persistedMessageCount);
assertThat(metricValue(meterRegistry, PERSISTED_UNDELIVERED_MESSAGES_METER, Search::counter, Counter::count).orElse(0.0d)).isEqualTo(persistedMessageCount);

Check warning on line 134 in hermes-common/src/test/java/pl/allegro/tech/hermes/common/message/undelivered/ZookeeperUndeliveredMessageLogTest.java

View workflow job for this annotation

GitHub Actions / checkstyle-hermes-common

[checkstyle-hermes-common] hermes-common/src/test/java/pl/allegro/tech/hermes/common/message/undelivered/ZookeeperUndeliveredMessageLogTest.java#L134 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 140 characters (found 164).
Raw output
/home/runner/work/hermes/hermes/hermes-common/src/test/java/pl/allegro/tech/hermes/common/message/undelivered/ZookeeperUndeliveredMessageLogTest.java:134:0: warning: Line is longer than 140 characters (found 164). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
assertThat(metricValue(meterRegistry, PERSISTED_UNDELIVERED_MESSAGE_SIZE, Search::summary, DistributionSummary::count).orElse(0L)).isEqualTo(persistedMessageCount);
assertThat(metricValue(meterRegistry, PERSISTED_UNDELIVERED_MESSAGE_SIZE + ".bytes", Search::summary, DistributionSummary::count).orElse(0L)).isEqualTo(persistedMessageCount);

Check warning on line 135 in hermes-common/src/test/java/pl/allegro/tech/hermes/common/message/undelivered/ZookeeperUndeliveredMessageLogTest.java

View workflow job for this annotation

GitHub Actions / checkstyle-hermes-common

[checkstyle-hermes-common] hermes-common/src/test/java/pl/allegro/tech/hermes/common/message/undelivered/ZookeeperUndeliveredMessageLogTest.java#L135 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 140 characters (found 183).
Raw output
/home/runner/work/hermes/hermes/hermes-common/src/test/java/pl/allegro/tech/hermes/common/message/undelivered/ZookeeperUndeliveredMessageLogTest.java:135:0: warning: Line is longer than 140 characters (found 183). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
}
}

0 comments on commit 47d93cf

Please sign in to comment.