mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 11:00:35 +00:00
Failures in this test typically happen inside the test consumer object. These however don't stop the test as the code invoking the consumer object handles exceptions coming from it. So the test will run to completion and will fail again when comparing the produced output with the expected one. This results in distracting failures. The real problem is not the difference in the output, but the first check that failed, which is however buried in the noise. To prevent this add an "ok" flag which is set to false if the consumer fails. In this case the additional checks are skipped in the end to not generate useless noise. Signed-off-by: Botond Dénes <bdenes@scylladb.com> Message-Id: <20210326083147.26113-2-bdenes@scylladb.com>