diff options
Diffstat (limited to 'aai-core/src/test/java')
-rw-r--r-- | aai-core/src/test/java/org/onap/aai/stress/IndexStressTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/stress/IndexStressTest.java b/aai-core/src/test/java/org/onap/aai/stress/IndexStressTest.java index fb7ba400..78f5f089 100644 --- a/aai-core/src/test/java/org/onap/aai/stress/IndexStressTest.java +++ b/aai-core/src/test/java/org/onap/aai/stress/IndexStressTest.java @@ -69,8 +69,7 @@ public class IndexStressTest extends AAISetup { if (i % 1000 == 0) { LOGGER.debug("Committing up to index {}", i); tx.commit(); - tx = AAIGraph.getInstance().getGraph().newTransaction(); - g = tx.traversal(); + g = AAIGraph.getInstance().getGraph().newTransaction().traversal(); } } |