JanusGraph / JanusGraph/janusgraph
Flaky index test testDiscardAndDropRegisteredIndex
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
## Flaky Test
* **Test Name:** BerkeleyElasticsearchTest>JanusGraphIndexTest.testDiscardAndDropRegisteredIndex
* **Link:** https://github.com/JanusGraph/janusgraph/blob/d4cffaa415bb642b3855b741b29900dbb8c3bb0b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphIndexTest.java#L3825
* **Branch:** `master`
* **Notes:**
### Stack Trace
```java
Error: Tests run: 72, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 495.105 s <<< FAILURE! - in org.janusgraph.diskstorage.es.BerkeleyElasticsearchTest
Error: org.janusgraph.diskstorage.es.BerkeleyElasticsearchTest.testDiscardAndDropRegisteredIndex Time elapsed: 60.932 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: but was:
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with JanusGraphIndexTest.java around testDiscardAndDropRegisteredIndex and inspect the failure in BerkeleyElasticsearchTest. Run the named test on master and compare its index discard and drop behavior across repeated runs; done means the assertion remains reliable without intermittent failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, java
- Domain
- databases, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100