ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: 1093
Date Thu, 15 Oct 2015 14:57:35 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1093-2 4907c5482 -> 1006b3a0a


1093


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

Branch: refs/heads/ignite-1093-2
Commit: 1006b3a0aa3c5b884295f90e7ad65cdef2c1fc38
Parents: 4907c54
Author: Anton Vinogradov <av@apache.org>
Authored: Thu Oct 15 17:57:16 2015 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Thu Oct 15 17:57:16 2015 +0300

----------------------------------------------------------------------
 .../testframework/junits/common/GridCommonAbstractTest.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1006b3a0/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
index e4c2129..a228a9a 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java
@@ -482,7 +482,9 @@ public abstract class GridCommonAbstractTest extends GridAbstractTest
{
                                 if (i == 0)
                                     start = System.currentTimeMillis();
 
-                                if (System.currentTimeMillis() - start > 30_000)
+                                if (System.currentTimeMillis() - start > 30_000) {
+                                    U.dumpThreads(log);
+
                                     throw new IgniteException("Timeout of waiting for topology
map update [" +
                                         "grid=" + g.name() +
                                         ", cache=" + cfg.getName() +
@@ -491,6 +493,7 @@ public abstract class GridCommonAbstractTest extends GridAbstractTest
{
                                         ", p=" + p +
                                         ", readVer=" + readyVer +
                                         ", locNode=" + g.cluster().localNode() + ']');
+                                }
 
                                 Thread.sleep(200); // Busy wait.
 


Mime
View raw message