JanusGraph / JanusGraph/janusgraph

Flaky Cassandra test: testIndexUpdatesWithReindexAndRemove

Open
#1,498 5 comments 0 reactions 0 assignees View on GitHub
storage/cassandra testing/flaky
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

```java
[ERROR] Failures:
[ERROR] AstyanaxGraphTest>JanusGraphTest.testIndexUpdatesWithReindexAndRemove:1500 expected: not equal but was: <0>
```

Job was:

```
MODULE='cassandra' ARGS='-Dtest=**/graphdb/astyanax/*'
```

Contributor guide

Open the contributing guide

Research direction

Start by running the Cassandra job with ARGS='-Dtest=**/graphdb/astyanax/*' and reproduce AstyanaxGraphTest>JanusGraphTest.testIndexUpdatesWithReindexAndRemove at line 1500. Inspect the test and its reindex/remove sequence to determine why the result is sometimes zero; done means the test no longer flakes and the expected assertion passes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, java
Domain
databases, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.