Skip to content

Commit

Permalink
Update errorProneVersion to v2.27.0 (#6412)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John K Watson <jkwatson@gmail.com>
  • Loading branch information
renovate[bot] and jkwatson committed May 1, 2024
1 parent 2e59f54 commit bd92087
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencyManagement/build.gradle.kts
Expand Up @@ -25,7 +25,7 @@ val DEPENDENCY_BOMS = listOf(
)

val autoValueVersion = "1.10.4"
val errorProneVersion = "2.26.1"
val errorProneVersion = "2.27.0"
val jmhVersion = "1.37"
// Mockito 5.x.x requires Java 11 https://github.com/mockito/mockito/releases/tag/v5.0.0
val mockitoVersion = "4.11.0"
Expand Down
Expand Up @@ -282,8 +282,8 @@ void builder_addSpanExporterCustomizer() {
void builder_addSpanProcessorCustomizer() {
SpanProcessor mockProcessor1 = Mockito.mock(SpanProcessor.class);
SpanProcessor mockProcessor2 = Mockito.mock(SpanProcessor.class);
doReturn(true).when(mockProcessor2).isStartRequired();
doReturn(true).when(mockProcessor2).isEndRequired();
when(mockProcessor2.isStartRequired()).thenReturn(true);
when(mockProcessor2.isEndRequired()).thenReturn(true);
Mockito.lenient().doReturn(CompletableResultCode.ofSuccess()).when(mockProcessor2).shutdown();
Mockito.lenient().when(spanExporter1.shutdown()).thenReturn(CompletableResultCode.ofSuccess());

Expand Down

0 comments on commit bd92087

Please sign in to comment.