JanusGraph / JanusGraph/janusgraph
Flaky CQL Index test: testRepairGraphIndex
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:** `CQLIndexManagementIT.testRepairGraphIndex`
* **Link:** https://github.com/JanusGraph/janusgraph/blob/0819d42c6c6b4af936e96f05728ad1b8b3f91864/janusgraph-hadoop/src/test/java/org/janusgraph/hadoop/AbstractIndexManagementIT.java#L127
* **Branch:** master
* **Notes:**
### Stack Trace
```java
Error: org.janusgraph.hadoop.CQLIndexManagementIT.testRepairGraphIndex Time elapsed: 65.125 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: but was:
at org.janusgraph.hadoop.AbstractIndexManagementIT.testRepairGraphIndex(AbstractIndexManagementIT.java:142)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
```
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
Read AbstractIndexManagementIT.java around testRepairGraphIndex, especially the assertion at line 142, and run CQLIndexManagementIT.testRepairGraphIndex on master to reproduce the failure. Trace why the assertion can return false and verify the test reliably passes in the relevant integration-test run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, java
- Domain
- databases, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100