druid/indexing-service
Gian Merlino d5abd06b96
Fix flaky KafkaIndexTaskTest. (#12657)
* Fix flaky KafkaIndexTaskTest.

The testRunTransactionModeRollback case had many race conditions. Most notably,
it would commit a transaction and then immediately check to see that the results
were *not* indexed. This is racey because it relied on the indexing thread being
slower than the test thread.

Now, the case waits for the transaction to be processed by the indexing thread
before checking the results.

* Changes from review.
2022-06-24 13:53:51 -07:00
..
src Fix flaky KafkaIndexTaskTest. (#12657) 2022-06-24 13:53:51 -07:00
pom.xml Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30