Skip to content

Commit

Permalink
Fixed formatting for TimedAspectTest
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinaMoiseenko committed Sep 16, 2024
1 parent 82919c1 commit a36374b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ void timeMethodWhenCompletedErroneously() {

CompletableFuture<?> completableFuture = service.callRaisingError();

assertThatThrownBy(completableFuture::join).isInstanceOf(CompletionException.class) ;
assertThatThrownBy(completableFuture::join).isInstanceOf(CompletionException.class);

assertThat(registry.get("callRaisingError")
.tag("class", getClass().getName() + "$AsyncTimedService")
Expand All @@ -271,7 +271,6 @@ void timeMethodWhenCompletedErroneously() {
.count()).isEqualTo(1);
}


@Test
void timeMethodWithLongTaskTimerWhenCompleted() {
MeterRegistry registry = new SimpleMeterRegistry();
Expand Down

0 comments on commit a36374b

Please sign in to comment.