IGNITE-8025 Future must fail if assertion error has been thrown in the worker thread
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/05d7092e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/05d7092e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/05d7092e Branch: refs/heads/ignite-8201 Commit: 05d7092e255295cf6b78b9d9082ad9eab5e8a246 Parents: 647620b Author: Alexey Goncharuk <alexey.goncha...@gmail.com> Authored: Tue Apr 10 16:22:28 2018 +0300 Committer: Alexey Goncharuk <alexey.goncha...@gmail.com> Committed: Tue Apr 10 16:23:06 2018 +0300 ---------------------------------------------------------------------- .../test/java/org/apache/ignite/testframework/GridTestUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/05d7092e/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java index 4e9a7c2..e6c6657 100644 --- a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java +++ b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java @@ -814,7 +814,7 @@ public final class GridTestUtils { catch (IgniteFutureCancelledCheckedException e) { resFut.onCancelled(); } - catch (IgniteCheckedException e) { + catch (Throwable e) { resFut.onDone(e); } });