Skip to content

Commit

Permalink
Excavator: Upgrades Baseline to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Nov 19, 2021
1 parent e3df47f commit 587c82e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildscript {
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.9.0'
classpath 'com.palantir.gradle.revapi:gradle-revapi:1.5.0'
classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.38.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.42.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.6.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.0.0'
Expand Down
12 changes: 6 additions & 6 deletions tracing/src/test/java/com/palantir/tracing/TracerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,28 +80,28 @@ public void testIdsMustBeNonNullAndNotEmpty() throws Exception {
assertThatLoggableExceptionThrownBy(
() -> Tracer.initTraceWithSpan(Observability.UNDECIDED, null, "op", SpanType.LOCAL))
.hasLogMessage("traceId must be non-empty")
.hasExactlyArgs();
.hasNoArgs();

assertThatLoggableExceptionThrownBy(
() -> Tracer.initTraceWithSpan(Observability.UNDECIDED, "", "op", SpanType.LOCAL))
.hasLogMessage("traceId must be non-empty")
.hasExactlyArgs();
.hasNoArgs();

assertThatLoggableExceptionThrownBy(() -> Tracer.startSpan("op", null, null))
.hasLogMessage("parentSpanId must be non-empty")
.hasExactlyArgs();
.hasNoArgs();

assertThatLoggableExceptionThrownBy(() -> Tracer.startSpan("op", "", null))
.hasLogMessage("parentSpanId must be non-empty")
.hasExactlyArgs();
.hasNoArgs();

assertThatLoggableExceptionThrownBy(() -> Tracer.fastStartSpan("op", null, null))
.hasLogMessage("parentSpanId must be non-empty")
.hasExactlyArgs();
.hasNoArgs();

assertThatLoggableExceptionThrownBy(() -> Tracer.fastStartSpan("op", "", null))
.hasLogMessage("parentSpanId must be non-empty")
.hasExactlyArgs();
.hasNoArgs();
}

@Test
Expand Down

0 comments on commit 587c82e

Please sign in to comment.