You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Julie Tibshirani (Jira)" <ji...@apache.org> on 2021/01/20 19:52:00 UTC
[jira] [Created] (LUCENE-9686)
TestDirectIODirectory#testFloatsUnderflow can fail assertion
Julie Tibshirani created LUCENE-9686:
----------------------------------------
Summary: TestDirectIODirectory#testFloatsUnderflow can fail assertion
Key: LUCENE-9686
URL: https://issues.apache.org/jira/browse/LUCENE-9686
Project: Lucene - Core
Issue Type: Test
Reporter: Julie Tibshirani
Reproduction line:
{code}
./gradlew test --tests TestDirectIODirectory.testFloatsUnderflow -Dtests.seed=73B56EAB13269C91 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=haw-US -Dtests.timezone=America/Inuvik -Dtests.asserts=true -Dtests.file.encoding=UTF-8
{code}
I didn't have the chance to look deeply, but it seems like the wrong exception type is being thrown:
{code:java}
junit.framework.AssertionFailedError: Unexpected exception type, expected EOFException but got java.nio.BufferUnderflowException
at __randomizedtesting.SeedInfo.seed([73B56EAB13269C91:1FD75ACA1CD83E9C]:0)
at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2895)
at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2876)
at org.apache.lucene.store.BaseDirectoryTestCase.testFloatsUnderflow(BaseDirectoryTestCase.java:291)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org