This is an automated email from the ASF dual-hosted git repository. sergeykamov pushed a commit to branch NLPCRAFT-111 in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit 4208a281117afd0083b2ec261bdf72f5589f2707 Author: Sergey Kamov <[email protected]> AuthorDate: Tue Jan 26 13:15:29 2021 +0300 WIP. --- .../scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala b/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala index 8d4e0e3..64087ed 100644 --- a/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala +++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala @@ -42,8 +42,6 @@ class NCSqlGeneratorSpec { @AfterEach def stop(): Unit = { - sqlStarted = false - val f = new File(PATH) if (f.exists()) { @@ -55,6 +53,8 @@ class NCSqlGeneratorSpec { if (sqlStarted) SqlServer.stop() + + sqlStarted = false } @Test
