JanusGraph / JanusGraph/janusgraph
BerkeleyGraphTest.testIDBlockAllocationTimeout doesn't work properly on GitHub Actions
Open
area/testing
storage/berkeleydb
testing/flaky
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
> This test is just very Flaky test. If renew takes less then 1 MS, it will not throw an error and so the test will fail.
I think we just need to add an issue to rewrite this test later to artificially increase renew time.
Contributor guide
Research direction
Start by locating BerkeleyGraphTest.testIDBlockAllocationTimeout and inspect how the renew timing is controlled. Reproduce the failure in GitHub Actions or the test environment, then make the timeout scenario deterministic by artificially increasing renew time. The test is done when it reliably throws the expected error instead of depending on a sub-millisecond renew.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100