Skip to content

Commit ce98839

Browse files
committed
Consistent non-present
1 parent b9788ae commit ce98839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consistent-sampling/src/test/java/io/opentelemetry/contrib/sampler/consistent56/ConsistentSamplerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void testMaxThreshold() {
188188
Output output = sample(input, sampler);
189189

190190
assertThat(output.samplingResult.getDecision()).isEqualTo(SamplingDecision.DROP);
191-
assertThat(output.getThreshold()).isEmpty();
191+
assertThat(output.getThreshold()).isNotPresent();
192192
assertThat(output.getRandomValue()).isNotPresent();
193193
}
194194

0 commit comments

Comments
 (0)