Description
shouldTogglePrepareForBulkLoadDuringRestoreCalls occassionally fails. This can be reproduced locally in IntelliJ when running in a loop. It fails two ways:
Way 1:
----------
Exception in thread "Thread-6" java.lang.AssertionError: Condition not met within timeout 1000. Did not prepare for bulk load
at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:275)
at org.apache.kafka.streams.state.internals.RocksDBStoreTest.assertRocksDBTurnsOnBulkLoading(RocksDBStoreTest.java:228)
at org.apache.kafka.streams.state.internals.RocksDBStoreTest.access$000(RocksDBStoreTest.java:51)
at org.apache.kafka.streams.state.internals.RocksDBStoreTest$1.run(RocksDBStoreTest.java:138)
at java.lang.Thread.run(Thread.java:745)
Way 2:
------------
org.apache.kafka.streams.state.internals.RocksDBStoreTest.shouldTogglePrepareForBulkLoadDuringRestoreCalls
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.apache.kafka.streams.state.internals.RocksDBStoreTest.shouldTogglePrepareForBulkLoadDuringRestoreCalls(RocksDBStoreTest.java:152)
Attachments
Issue Links
- links to