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
fix(node-integration-tests): Fix flaky kafkajs test race condition (#20189)
The kafkajs integration test asserted producer and consumer transactions
in a fixed order, but they can arrive in either order due to Kafka's
async nature.
To fix the flake, we collect both transactions via callbacks, then
assert after both have arrived using `find()` by transaction name
instead of relying on arrival order
closes#20121
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
0 commit comments