Repository: ignite Updated Branches: refs/heads/master b873c4563 -> 781d4e781
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/master Commit: 781d4e7812d0eaf789c287ba69374d625a13e32c Parents: b873c45 Author: Alexey Goncharuk <[email protected]> Authored: Sat Oct 27 17:55:54 2018 +0300 Committer: Alexey Goncharuk <[email protected]> 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)); } }
