From a67ae692366e44227359d38486145f41b0a4774a Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Wed, 16 Oct 2019 14:18:24 +0100 Subject: [PATCH] Excavator: Upgrades Baseline to the latest version (#314) --- build.gradle | 2 +- tracing/src/test/java/com/palantir/tracing/TracersTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);