You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/06/05 17:28:20 UTC
ignite git commit: Fixed test.
Repository: ignite
Updated Branches:
refs/heads/ignite-3247 a151bd09f -> 324ab2849
Fixed test.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/324ab284
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/324ab284
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/324ab284
Branch: refs/heads/ignite-3247
Commit: 324ab2849b365954ae9e34de03e62c6cca5eef97
Parents: a151bd0
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Sun Jun 5 20:28:14 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Sun Jun 5 20:28:14 2016 +0300
----------------------------------------------------------------------
.../apache/ignite/internal/processors/igfs/IgfsMetaManager.java | 2 +-
.../ignite/internal/processors/igfs/IgfsOneClientNodeTest.java | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/324ab284/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
index 35e77c4..3295249 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsMetaManager.java
@@ -247,7 +247,7 @@ public class IgfsMetaManager extends IgfsManager {
return clientCompute().call(task);
}
catch (ClusterTopologyException e) {
- throw new IgfsException("Failed to execute operation because there are no IGFS metadata nodes left." , e);
+ throw new IgfsException("Failed to execute operation because there are no IGFS metadata nodes." , e);
}
}
http://git-wip-us.apache.org/repos/asf/ignite/blob/324ab284/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsOneClientNodeTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsOneClientNodeTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsOneClientNodeTest.java
index 25d75a2..3bfd372 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsOneClientNodeTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsOneClientNodeTest.java
@@ -101,7 +101,6 @@ public class IgfsOneClientNodeTest extends GridCommonAbstractTest {
* @throws Exception If failed.
*/
public void testStartIgfs() throws Exception {
-
final IgfsImpl igfs = (IgfsImpl) grid(0).fileSystem("igfs");
GridTestUtils.assertThrows(log, new Callable<Object>() {
@@ -109,7 +108,7 @@ public class IgfsOneClientNodeTest extends GridCommonAbstractTest {
IgfsAbstractSelfTest.create(igfs, new IgfsPath[]{new IgfsPath("/dir")}, null);
return null;
}
- }, IgfsException.class, "Cache server nodes not found.");
+ }, IgfsException.class, "Failed to execute operation because there are no IGFS metadata nodes.");
GridTestUtils.assertThrows(log, new Callable<Object>() {
@Override public Object call() throws Exception {
@@ -119,7 +118,7 @@ public class IgfsOneClientNodeTest extends GridCommonAbstractTest {
return null;
}
- }, IgfsException.class, "Cache server nodes not found.");
+ }, IgfsException.class, "Failed to execute operation because there are no IGFS metadata nodes.");
GridTestUtils.assertThrows(log, new Callable<Object>() {
@Override public Object call() throws Exception {