ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-1.5 Properly handle duplicated job responses in GridTaskWorker.onResponse.
Date Thu, 17 Dec 2015 12:10:06 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1537 6f8d35749 -> 41764213d


ignite-1.5 Properly handle duplicated job responses in GridTaskWorker.onResponse.


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

Branch: refs/heads/ignite-1537
Commit: 41764213dc7ea498fe58eb72684791b5465b2fe4
Parents: 6f8d357
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Dec 17 15:09:58 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Dec 17 15:09:58 2015 +0300

----------------------------------------------------------------------
 .../service/GridServiceProcessorStopSelfTest.java         | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/41764213/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorStopSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorStopSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorStopSelfTest.java
index 08f4415..dfea37a 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorStopSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/GridServiceProcessorStopSelfTest.java
@@ -23,6 +23,7 @@ import org.apache.ignite.Ignite;
 import org.apache.ignite.IgniteException;
 import org.apache.ignite.IgniteServices;
 import org.apache.ignite.Ignition;
+import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.services.Service;
 import org.apache.ignite.services.ServiceContext;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
@@ -50,6 +51,8 @@ public class GridServiceProcessorStopSelfTest extends GridCommonAbstractTest
{
 
         Thread t = new Thread(new Runnable() {
             @Override public void run() {
+                Thread.currentThread().setName("deploy-thread");
+
                 IgniteServices svcs = ignite.services();
 
                 IgniteServices services = svcs.withAsync();
@@ -76,7 +79,12 @@ public class GridServiceProcessorStopSelfTest extends GridCommonAbstractTest
{
 
         Ignition.stopAll(true);
 
-        assertTrue("Deploy future isn't completed", finishLatch.await(15, TimeUnit.SECONDS));
+        boolean wait = finishLatch.await(15, TimeUnit.SECONDS);
+
+        if (!wait)
+            U.dumpThreads(log);
+
+        assertTrue("Deploy future isn't completed", wait);
     }
 
     /**


Mime
View raw message