dain / leveldb

Port of LevelDB to Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DbImplTest.testHiddenValuesAreRemoved fails

kenwenzel opened this issue · comments

I've encountered the issue that DbImplTest.testHiddenValuesAreRemoved fails on my computer with:

java.lang.AssertionError: null: lists don't have the same size expected [1] but found [2]

I've also seen that some builds on Travis failed for this reason. Is this a known issue?

I've experimented a bit and found out that the issue occurs only from time to time. Maybe this is due to some kind of race condition ...

It is relatively easy to make the unit test fail almost every time (in docker/travic-ci), by increasing the number of invocations count like; @Test(invocationCount = 3).