You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Failing Test]: PulsarIOTest.testRead is flaky #40288
PulsarIOTest > testRead FAILED
java.lang.AssertionError: MapElements/Map/ParMultiDo(Anonymous).output: arrays first differed at element [0]; expected:<1> but was:<0>
A PCollection has no order, and PAssert passes the elements through a GroupByKey. On a slow runner, the DirectRunner checkpoints the splittable DoFn after about 1s, so the remaining messages come out in a later bundle. The data itself is complete: the error has no "array lengths differed" text, so all 10 elements arrived. Only the order changed. Because the arguments to assertArrayEquals are swapped, "expected:<1>" is actually the first element that arrived.
Activity
mxtymoshyk commentedon Sep 25, 2026
.take-issue
Make PulsarIOTest.testRead order-independent (#40290)