diff --git a/build.gradle b/build.gradle index 1b1b97000..889f2f2aa 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ buildscript { classpath 'com.github.jengelman.gradle.plugins:shadow:5.1.0' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' classpath 'com.netflix.nebula:nebula-publishing-plugin:14.0.0' - classpath 'com.palantir.baseline:gradle-baseline-java:2.19.0' + classpath 'com.palantir.baseline:gradle-baseline-java:2.21.0' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.2' classpath 'gradle.plugin.org.inferred:gradle-processors:3.1.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.12.4' diff --git a/tracing/src/test/java/com/palantir/tracing/TracersTest.java b/tracing/src/test/java/com/palantir/tracing/TracersTest.java index 7341ef671..723d4ba9b 100644 --- a/tracing/src/test/java/com/palantir/tracing/TracersTest.java +++ b/tracing/src/test/java/com/palantir/tracing/TracersTest.java @@ -657,7 +657,7 @@ private static Callable traceExpectingCallableWithSingleSpan(String operat String traceId = Tracer.getTraceId(); List trace = getCurrentTrace(); OpenSpan span = trace.remove(trace.size() - 1); - assertThat(trace).hasSize(0); + assertThat(trace).isEmpty(); assertThat(traceId).isEqualTo(outsideTraceId); assertThat(span.getOperation()).isEqualTo(operation); @@ -673,7 +673,7 @@ private static Runnable traceExpectingRunnableWithSingleSpan(String operation) { String traceId = Tracer.getTraceId(); List trace = getCurrentTrace(); OpenSpan span = trace.remove(trace.size() - 1); - assertThat(trace).hasSize(0); + assertThat(trace).isEmpty(); assertThat(traceId).isEqualTo(outsideTraceId); assertThat(span.getOperation()).isEqualTo(operation);