JanusGraph / JanusGraph/janusgraph

QueryBackPressureTest regularly times out on GHA

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

Description

## Flaky Test

* **Test Name:** org.janusgraph.diskstorage.util.backpressure.QueryBackPressureTest
* **Link:** https://github.com/JanusGraph/janusgraph/blob/e95578388919af6749b6a5e81f850de08c846b2d/janusgraph-core/src/test/java/org/janusgraph/diskstorage/util/backpressure/QueryBackPressureTest.java#L27
* **Branch:** `v1.0`
* **Notes:** There is no test failure, but the tests don't terminate. GH Action instead cancels the run after 6h. I don't know which test in this class is responsible for the problem or why this started becoming a problem only recently since the test class hasn't been changed since its addition in May 2023.

cc @porunov

### Stack Trace

```
[INFO] Running org.janusgraph.diskstorage.util.CompletableFutureUtilTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.136 s - in org.janusgraph.diskstorage.util.CompletableFutureUtilTest
[INFO] Running org.janusgraph.diskstorage.util.backpressure.QueryBackPressureTest
Error: The operation was canceled.
```

Contributor guide

Open the contributing guide

Research direction

Start with janusgraph-core/src/test/java/org/janusgraph/diskstorage/util/backpressure/QueryBackPressureTest.java and run the class in the v1.0 branch. Investigate which test or operation fails to terminate and verify the behavior in GitHub Actions. Done means the class completes reliably without the six-hour cancellation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.