You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2018/10/30 06:09:03 UTC
[12/28] ignite git commit: GNITE-8006 Fixed flaky test
GNITE-8006 Fixed flaky test
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/781d4e78
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/781d4e78
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/781d4e78
Branch: refs/heads/ignite-627
Commit: 781d4e7812d0eaf789c287ba69374d625a13e32c
Parents: b873c45
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Sat Oct 27 17:55:54 2018 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Sat Oct 27 17:55:54 2018 +0300
----------------------------------------------------------------------
.../java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/781d4e78/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
index 13a1044..ad678b6 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/util/IgniteUtilsSelfTest.java
@@ -923,7 +923,7 @@ public class IgniteUtilsSelfTest extends GridCommonAbstractTest {
fail("Should throw timeout exception");
}
catch (Exception e) {
- assertTrue(e.getCause() instanceof TimeoutException);
+ assertTrue(e.toString(), X.hasCause(e, TimeoutException.class));
}
}