# ignite-sprint-4 added put retries in test
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0eadae95 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0eadae95 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0eadae95 Branch: refs/heads/ignite-218 Commit: 0eadae95a38d0ff71ffe24e07bbc7ca8a17a2ea9 Parents: 77b802c Author: sboikov <sboi...@gridgain.com> Authored: Wed Apr 15 11:45:59 2015 +0300 Committer: sboikov <sboi...@gridgain.com> Committed: Wed Apr 15 11:45:59 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/processors/cache/GridCachePutAllTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0eadae95/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePutAllTask.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePutAllTask.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePutAllTask.java index 1834f60..7c6dba9 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePutAllTask.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCachePutAllTask.java @@ -115,7 +115,7 @@ class GridCachePutAllTask extends ComputeTaskAdapter<Collection<Integer>, Void> if (i < RETRIES - 1) log.info("Put error, will retry: " + e); else - throw e; + throw new IgniteException(e); } } @@ -143,7 +143,7 @@ class GridCachePutAllTask extends ComputeTaskAdapter<Collection<Integer>, Void> if (i < RETRIES - 1) log.info("Put error, will retry: " + e); else - throw e; + throw new IgniteException(e); } }