Skip to content

Commit

Permalink
Upgrade dependencies #1431
Browse files Browse the repository at this point in the history
* Brave 5.11.2 -> 5.12.6
* Servlet API 3.1.0 -> 4.0.1
* Mockito 3.5.10 -> 3.5.13
  • Loading branch information
mp911de committed Sep 28, 2020
1 parent 5a8d788 commit 3101745
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
<properties>
<assertj-core.version>3.17.2</assertj-core.version>
<cdi-api.version>2.0.SP1</cdi-api.version>
<brave.version>5.11.2</brave.version>
<brave.version>5.12.6</brave.version>
<commons-lang3.version>3.11</commons-lang3.version>
<commons-pool.version>2.8.1</commons-pool.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
<junit4.version>4.13</junit4.version>
<junit5.version>5.7.0</junit5.version>
<hamcrest-library.version>2.2</hamcrest-library.version>
Expand All @@ -65,7 +65,7 @@
<kotlinx-coroutines.version>1.3.8</kotlinx-coroutines.version>
<latencyutils.version>2.0.3</latencyutils.version>
<log4j2-version>2.13.3</log4j2-version>
<mockito.version>3.5.10</mockito.version>
<mockito.version>3.5.13</mockito.version>
<netty.version>4.1.52.Final</netty.version>
<openwebbeans.version>2.0.18</openwebbeans.version>
<reactor.version>3.3.10.RELEASE</reactor.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ void shouldCustomizeSpan() {
BraveTracing.BraveSpan span = (BraveTracing.BraveSpan) tracing.getTracerProvider().getTracer().nextSpan();
span.start(new AsyncCommand<>(new Command<>(CommandType.AUTH, null)));

MutableSpan braveSpan = (MutableSpan) ReflectionTestUtils.getField(span.getSpan(), "state");
List<String> tags = (List) ReflectionTestUtils.getField(braveSpan, "tags");
MutableSpan braveSpan = ReflectionTestUtils.getField(span.getSpan(), "state");
Object[] tags = ReflectionTestUtils.getField(braveSpan, "tags");

assertThat(tags).contains("cmd", "AUTH");
}
Expand Down

0 comments on commit 3101745

Please sign in to comment.