Open hariso opened 1 month ago
Most of the errors are:
err: stop source: unsubscribe: nats: consumer not found
, which is logged when a source is stopped. This probably means that a source's client disconnected. We've previously had problems with clients disconnecting which is why reconnections were implemented (see #62).
The following could be the case: once the source is done with reading the records and the test is about to end (and the source to be stopped), the NATS client disconnects. The source then needs to be stop, but the client hasn't re-connected yet, which could be the reason why we see the above errors.
Feature description
Some of the acceptance tests are flaky. A few of them fail more frequently than others, one example is
TestAcceptance/TestSource_Open_ResumeAtPositionCDC
.Most of the errors are:
err: stop source: unsubscribe: nats: consumer not found
, which is logged when a source is stopped. This probably means that a source's client disconnected. We've previously had problems with clients disconnecting which is why reconnections were implemented (see https://github.com/conduitio-labs/conduit-connector-nats-jetstream/issues/62).Helper scripts: Run all the acceptance tests multiple times (the script runs all the tests 20 times and writes the output to a file):
Run a single test