Skip to content

Commit

Permalink
Fixed ITTracingRequestHandler test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
reta committed Jan 4, 2024
1 parent f7d2001 commit 9ddde4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2023 The OpenZipkin Authors
* Copyright 2016-2024 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -197,7 +197,7 @@ public <Resp> void response(HttpAdapter<?, Resp> adapter, Resp res, Throwable er
assertThatThrownBy(super::spanHandlerSeesError)
.isInstanceOf(AssertionError.class)
// spanHandler was called twice. OK because the second time was for the application span.
.hasMessageContaining("Expected size:<1> but was:<2>");
.hasMessageContaining("Expected size: 1 but was: 2");

assertThat(testSpanHandler.takeLocalSpan().error())
.hasMessageStartingWith("Unable to execute HTTP request");
Expand Down

0 comments on commit 9ddde4a

Please sign in to comment.