Fixed flickering test (due to starting 0 in the traceid)
This commit is contained in:
committed by
GitHub
parent
d010229ca3
commit
8a190ddabc
@@ -107,7 +107,7 @@ public class ZipkinTests extends AbstractIntegrationTest {
|
||||
}
|
||||
|
||||
List<String> traceIdsNotFoundInZipkin(List<Span> spans, long traceId) {
|
||||
String traceIdString = Long.toHexString(traceId);
|
||||
String traceIdString = org.springframework.cloud.sleuth.Span.idToHex(traceId);
|
||||
Optional<String> traceIds = spans.stream()
|
||||
.map(Span::traceId)
|
||||
.filter(traceIdString::equals)
|
||||
|
||||
Reference in New Issue
Block a user