You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2020/09/21 09:52:41 UTC

[incubator-nlpcraft] branch NLPCRAFT-132 updated: WIP.

This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch NLPCRAFT-132
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-132 by this push:
     new 029133c  WIP.
029133c is described below

commit 029133cec4bf1821a2b212c8b6ca455284a5870a
Author: Sergey Kamov <se...@apache.org>
AuthorDate: Mon Sep 21 12:52:35 2020 +0300

    WIP.
---
 nlpcraft/pom.xml                                                      | 2 +-
 .../src/test/scala/org/apache/nlpcraft/NCTestExampleModelsSpec.scala  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/nlpcraft/pom.xml b/nlpcraft/pom.xml
index 0ecfe8d..77f64e1 100644
--- a/nlpcraft/pom.xml
+++ b/nlpcraft/pom.xml
@@ -323,7 +323,7 @@
                     <skip>true</skip>
                     <systemProperties>
                         <property>
-                            <name>testsEnvMaven</name>
+                            <name>NLPCRAFT_TEST_MAVEN_ENV</name>
                             <value>true</value>
                         </property>
                     </systemProperties>
diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/NCTestExampleModelsSpec.scala b/nlpcraft/src/test/scala/org/apache/nlpcraft/NCTestExampleModelsSpec.scala
index cfcbacb..713eae6 100644
--- a/nlpcraft/src/test/scala/org/apache/nlpcraft/NCTestExampleModelsSpec.scala
+++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/NCTestExampleModelsSpec.scala
@@ -32,9 +32,9 @@ class NCTestExampleModelsSpec {
             "org.apache.nlpcraft.examples.lightswitch.LightSwitchModel," +
             "org.apache.nlpcraft.examples.echo.EchoModel"
 
-        val testsEnvMaven = System.getProperty("testsEnvMaven")
+        val maven = System.getProperty("NLPCRAFT_TEST_MAVEN_ENV")
 
-        if (testsEnvMaven == null || testsEnvMaven.toLowerCase != "true")
+        if (maven == null || maven.toLowerCase != "true")
             models = s"$models,org.apache.nlpcraft.examples.weather.WeatherModel"
 
         // Instruct auto-validator what models to test.