MetPX / sr_insects

test cases for sarracenia python and c implementations.
GNU General Public License v2.0
0 stars 0 forks source link

I noticed that C consumer will always lose messages in failure modes #31

Closed petersilva closed 9 months ago

petersilva commented 9 months ago

because the C consumer library acknowledges messages ... so the application layer cannot. When we test failures (but restarting sarracenia, or the broker) the C consumer (aka sr3_cpump) is likely to lose messages. The C consumer is not currently used operationally anywhere, it's more of a demonstrator (can replace a shovel or a winnow) but with the caveat from that it doesn't deal with failure well:

https://github.com/MetPX/sarrac/issues/121

So remove the tests that require C consumer to be 100% reliable, and the flow tests should pass more often.