kafka/tests/kafkatest
Bruno Cadonna 8019272d14 MINOR: Fix Streams EOS system tests by adding clean-up of state dir (#7693)
Recently, system tests test_rebalance_[simple|complex] failed
repeatedly with a verfication error. The cause was most probably
the missing clean-up of a state directory of one of the processors.

A node is cleaned up when a service on that node is started and when
a test is torn down.

If the clean-up flag clean_node_enabled of a EOS Streams service is
unset, the clean-up of the node is skipped.

The clean-up flag of processor1 in the EOS tests should stay set before
its first start, so that the node is cleaned before the service is started.
Afterwards for the multiple restarts of processor1 the cleans-up flag should
be unset to re-use the local state.

After the multiple restarts are done, the clean-up flag of processor1 should
again be set to trigger node clean-up during the test teardown.

A dirty node can lead to test failures when tests from Streams EOS tests are
scheduled on the same node, because the state store would not start empty
since it reads the local state that was not cleaned up.

Reviewers: Matthias J. Sax <mjsax@apache.org>, Andrew Choi <andchoi@linkedin.com>, Bill Bejeck <bbejeck@gmail.com>
2020-06-01 10:49:48 -05:00
..
benchmarks MINOR: report streams benchmarks separately (#5275) 2018-06-22 17:10:06 -07:00
directory_layout MINOR: Add HttpMetricsReporter for system tests 2017-11-09 09:42:46 -08:00
sanity_checks KAFKA-8070: Increase consumer startup timeout in system tests (#6405) 2019-03-08 16:59:35 +00:00
services MINOR: Backport kafkatest per-broker overrides and extra JVM args (#8347) 2020-03-25 21:59:34 -07:00
tests MINOR: Fix Streams EOS system tests by adding clean-up of state dir (#7693) 2020-06-01 10:49:48 -05:00
utils KAFKA-7773; Add end to end system test relying on verifiable consumer (#6070) 2019-01-08 14:14:51 +00:00
__init__.py Update versions to 2.2.3-SNAPSHOT 2019-12-01 14:52:03 -06:00
version.py HOTFIX: bump system test versions (#7835) 2019-12-17 16:45:04 -05:00