Skip to content

Commit

Permalink
remove console building from checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
moscicky committed Oct 26, 2023
1 parent ccc59ad commit 52d9bd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
java-version: 17
distribution: 'temurin'
- name: Run check style
run: ./gradlew --continue clean checkstyleMain checkstyleTest checkstyleIntegration checkstyleJmh -PmaxCheckstyleWarnings=0
# ignore lengthy console setup tasks
run: ./gradlew --continue clean checkstyleMain checkstyleTest checkstyleIntegration checkstyleJmh -PmaxCheckstyleWarnings=0 -x attachHermesConsole -x prepareIndexTemplate
- name: Run reviewdog
if: ${{ success() || failure() }}
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ public void shouldGetStats() {
TopicWithSchema topic2 = operations.createTopic(topic(group, name(), Topic.Ack.LEADER, ContentType.JSON, false));
operations.createTopic(topic(group, name(), Topic.Ack.ALL, ContentType.JSON, true));

operations.createSubscription(topic1.getTopic(), subscription(topic1.getName(), name(), ContentType.AVRO, TrackingMode.TRACKING_OFF));
operations.createSubscription(topic2.getTopic(), subscription(topic2.getName(), name(), ContentType.JSON, TrackingMode.TRACK_ALL));
operations.createSubscription(topic2.getTopic(), subscription(topic2.getName(), name(), ContentType.AVRO, TrackingMode.TRACKING_OFF));
operations.createSubscription(topic1.getTopic(),
subscription(topic1.getName(), name(), ContentType.AVRO, TrackingMode.TRACKING_OFF));
operations.createSubscription(topic2.getTopic(),
subscription(topic2.getName(), name(), ContentType.JSON, TrackingMode.TRACK_ALL));
operations.createSubscription(topic2.getTopic(),
subscription(topic2.getName(), name(), ContentType.AVRO, TrackingMode.TRACKING_OFF));

// when then
Assertions.assertThat(management.statsEndpoint().getStats()).isEqualTo(new Stats(
Expand Down

0 comments on commit 52d9bd5

Please sign in to comment.