JanusGraph / JanusGraph/janusgraph

Flaky index test testDiscardAndDropRegisteredIndex

Open
#3,931 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

testing/flaky
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.