apache / apache/lucene

TestIWExceptions.testRandomExceptionsThreads sometimes fails [LUCENE-3384]

Open
#4,457 4 comments 0 reactions 0 assignees View on GitHub
affects-version:3.4 legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

failed in hudson (in test-backwards), with AIOOBE on termvectorswriter.

the problem with this test method is that seeds never reproduce.

But I made it fail just by doing this:
```
ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100
```

---
Migrated from [LUCENE-3384](https://issues.apache.org/jira/browse/LUCENE-3384) by Robert Muir (@rmuir), updated Aug 26 2011
Attachments: [LUCENE-3384.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-3384/LUCENE-3384.patch)

Contributor guide

Open the contributing guide

Research direction

Start by running ant test-core -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testRandomExceptionsThreads -Dtests.iter=100 and inspect that test method. Investigate why its failure seeds do not reproduce and the reported AIOOBE in termvectorswriter; done means the intermittent failure is reproducible or prevented and the test passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.