Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Flaky unit test io.jaegertracing.zipkin.internal.V2SpanConverterTest#testConvertSpanWith128BitTraceId #745

Closed
yurishkuro opened this issue Sep 14, 2020 · 0 comments · Fixed by #746

Comments

@yurishkuro
Copy link
Member

yurishkuro commented Sep 14, 2020

This is likely related to zero padding of trace IDs. If the test is using random IDs, then it has ~1 in 16 chance to run into it.

io.jaegertracing.zipkin.internal.V2SpanConverterTest > testConvertSpanWith128BitTraceId FAILED
    org.junit.ComparisonFailure: expected:<[]4530fcc74d879887070b...> but was:<[0]4530fcc74d879887070b...>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at io.jaegertracing.zipkin.internal.V2SpanConverterTest.testConvertSpanWith128BitTraceId(V2SpanConverterTest.java:310)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant