Skip to content

Commit

Permalink
[MOD] Performance tests: adding documents
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGruen committed Aug 17, 2015
1 parent 7857d86 commit 59896ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions basex-tests/src/test/java/org/basex/server/ServerAddTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.basex.*;
import org.basex.api.client.*;
import org.basex.core.*;
import org.junit.*;

/**
Expand Down Expand Up @@ -99,6 +100,8 @@ public Client(final int runs) throws Exception {
@Override
public void run() {
try {
session.execute("set " + MainOptions.AUTOFLUSH.name() + " false");
session.execute("set " + MainOptions.INTPARSE.name() + " true");
session.execute("open " + NAME);
for(int i = 0; i < runs; ++i) {
session.execute("add " + INPUT);
Expand Down

0 comments on commit 59896ed

Please sign in to comment.