diff options
author | William Reehil <william.reehil@att.com> | 2022-11-11 13:37:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-11-11 13:37:57 +0000 |
commit | 3b096f45f2e99a3ca0fa4e87476d8c4d232be26c (patch) | |
tree | 2a48b420e1efbeefbf5c4bd5c8ad7cf7960bf5ef /aai-core/src/test/java | |
parent | 72b44a38290334c46a9dedc0be1dadcd08520515 (diff) | |
parent | 11f38de0c6e9a7d04ececaf7d291648f4406ef21 (diff) |
Merge "Partially resolve resource leak warnings in aai-common"
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(); } } |