JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.34k stars 1.18k forks source link

Flaky Berkeley test: JanusGraphOperationCountingTest.testIdCounts #1459

Open FlorianHockmann opened 5 years ago

FlorianHockmann commented 5 years ago
[ERROR] Failures: 
[ERROR]   BerkeleyOperationCountingTest>JanusGraphOperationCountingTest.testIdCounts:109->JanusGraphOperationCountingTest.verifyStoreMetrics:410 org.janusgraph.sys.janusgraph_ids.getSlice.calls ==> expected: <6> but was: <5>

Job was:

MODULE='berkeleyje'
FlorianHockmann commented 2 years ago

This also seems to be flaky for HBase:

Error:  Failures: 
Error:    HBaseOperationCountingTest>JanusGraphOperationCountingTest.testIdCounts:137->JanusGraphOperationCountingTest.verifyStoreMetrics:438 org.janusgraph.sys.janusgraph_ids.getSlice.calls ==> expected: <6> but was: <5>

from job:

tests (hbase, -Pjava-11, -Dtest="**/graphdb/hbase/*", hbase2-graphdb, 11) 

in PR #3114.

So, the annotation should probably be moved to the base case instead of the class specific to Berkeley.

FlorianHockmann commented 2 years ago

Confirming that it's independent of the backend as this test just also failed for CQL for a PR that shouldn't affect this test: #3239.

Error:  Failures: 
Error:    CQLOperationCountingTest>JanusGraphOperationCountingTest.testIdCounts:137->JanusGraphOperationCountingTest.verifyStoreMetrics:438 org.janusgraph.sys.janusgraph_ids.getSlice.calls ==> expected: <6> but was: <5>