Skip to content

Commit 8da53fa

Browse files
committed
fixed queryWithMemoryLimit test for devel
1 parent 599b9c5 commit 8da53fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/arangodb/ArangoDatabaseTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,8 @@ public void queryWithCache() {
684684
@Test
685685
public void queryWithMemoryLimit() {
686686
try {
687-
db.query("RETURN 1..10000", null, new AqlQueryOptions().memoryLimit(32 * 1024L), String.class);
688-
fail();
687+
db.query("RETURN 1..100000", null, new AqlQueryOptions().memoryLimit(32 * 1024L), String.class);
688+
fail("Memory limit not honored.");
689689
} catch (final ArangoDBException e) {
690690
assertThat(e.getErrorNum(), is(32));
691691
}

0 commit comments

Comments
 (0)