Skip to content

Commit

Permalink
testTerminateCommit: stop test going out of memory (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
gem-neo4j authored Feb 10, 2025
1 parent 52f263d commit 14b175e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/test/java/apoc/periodic/PeriodicTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ public void testSlottedRuntime() {
public void testTerminateCommit() {
PeriodicTestUtils.testTerminateWithCommand(
db,
"CALL apoc.periodic.commit('UNWIND range(0,1000) as id WITH id CREATE (n:Foo {id: id}) WITH n limit 1000 RETURN COUNT(n)', {})",
"UNWIND range(0,1000) as id WITH id CREATE (n:Foo {id: id}) WITH n limit 1000 RETURN COUNT(n)");
"CALL apoc.periodic.commit('UNWIND range(0,1000) as id WITH id MERGE (n:Foo {id: id}) WITH n limit 1000 RETURN COUNT(n)', {})",
"UNWIND range(0,1000) as id WITH id MERGE (n:Foo {id: id}) WITH n limit 1000 RETURN COUNT(n)");
}

@Test
Expand Down

0 comments on commit 14b175e

Please sign in to comment.