kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eno Thereska (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-5701) Unit test shouldTogglePrepareForBulkLoadDuringRestoreCalls fails
Date Fri, 04 Aug 2017 14:20:00 GMT
Eno Thereska created KAFKA-5701:
-----------------------------------

             Summary: Unit test shouldTogglePrepareForBulkLoadDuringRestoreCalls fails
                 Key: KAFKA-5701
                 URL: https://issues.apache.org/jira/browse/KAFKA-5701
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 0.11.0.1
            Reporter: Eno Thereska
             Fix For: 0.11.0.1


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)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message