ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #ignite-961: await end of the node js process in test.
Date Tue, 09 Jun 2015 09:28:26 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-961 ffe028184 -> b7b6dfcfc


#ignite-961: await end of the node js process in test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/b7b6dfcf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/b7b6dfcf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/b7b6dfcf

Branch: refs/heads/ignite-961
Commit: b7b6dfcfc540d0f68ad363e8910d09bf1bc93f06
Parents: ffe0281
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Jun 9 12:28:16 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Jun 9 12:28:16 2015 +0300

----------------------------------------------------------------------
 .../test/java/org/apache/ignite/internal/NodeJsAbstractTest.java   | 2 ++
 modules/nodejs/src/test/js/test-ignition.js                        | 1 +
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b7b6dfcf/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsAbstractTest.java
b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsAbstractTest.java
index 7d82f61..5b7af7b 100644
--- a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsAbstractTest.java
+++ b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsAbstractTest.java
@@ -155,6 +155,8 @@ public class NodeJsAbstractTest extends GridCommonAbstractTest {
 
             assertTrue(readyLatch.await(60, SECONDS));
 
+            proc.getProcess().waitFor();
+
             assertEquals(errors.toString(), 0, errors.size());
         }
         finally {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b7b6dfcf/modules/nodejs/src/test/js/test-ignition.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/js/test-ignition.js b/modules/nodejs/src/test/js/test-ignition.js
index 42a4041..9b7a931 100644
--- a/modules/nodejs/src/test/js/test-ignition.js
+++ b/modules/nodejs/src/test/js/test-ignition.js
@@ -45,6 +45,7 @@ ignitionStartSuccess = function() {
 
             return;
         }
+
         TestUtils.testDone();
     }
 }


Mime
View raw message