tsmarsh / gridql

Scaffolding for converting event documents into a mesh
MIT License
5 stars 3 forks source link

Kafka Tests Fail #1

Closed tsmarsh closed 5 months ago

tsmarsh commented 7 months ago

There is a intermittent / persistent bug that causes the kafka tests to fail.

We've tried backoffs / delays. But sometimes it seems it just doesn't want to get out of bed. Locally, the presents as failing on the first run, then passing IMMEDIATELY afterwards (sometimes on the third run... rarer). This seems to be tied to the configuration of the the TestContainer.

tsmarsh commented 5 months ago

Think we fixed it. Added retry in the right places. Mostly I think it was a race condition between the producer and the consumer. Now both retry if they're surprised by the current state.