Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit b349844

Browse files
committed
using the wrong strategy in this test!
1 parent bb88473 commit b349844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/test/java/org/neo4j/graphalgo/core/heavyweight/HeavyCypherGraphSequentialFactoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void countEachRelationshipOnce() throws Exception {
8888
private void loadAndTestGraph(String nodeStatement, String relStatement, boolean accumulateWeights) {
8989
final Graph graph = new GraphLoader((GraphDatabaseAPI) db)
9090
.withBatchSize(1000)
91-
.withDuplicateRelationshipsStrategy(accumulateWeights ? DuplicateRelationshipsStrategy.SUM : DuplicateRelationshipsStrategy.NONE)
91+
.withDuplicateRelationshipsStrategy(accumulateWeights ? DuplicateRelationshipsStrategy.SUM : DuplicateRelationshipsStrategy.SKIP)
9292
.withRelationshipWeightsFromProperty("prop",0d)
9393
.withLabel(nodeStatement)
9494
.withRelationshipType(relStatement)

0 commit comments

Comments
 (0)