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 2015/02/02 11:28:49 UTC

[13/50] [abbrv] incubator-ignite git commit: # ignite-91 Fixed test

# ignite-91 Fixed 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/5673e3f9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/5673e3f9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/5673e3f9

Branch: refs/heads/ignite-16
Commit: 5673e3f979b58f70a18a795be3eb884cc961a93c
Parents: e45b390
Author: sboikov <se...@inria.fr>
Authored: Thu Jan 29 06:04:36 2015 +0300
Committer: sboikov <se...@inria.fr>
Committed: Thu Jan 29 06:04:36 2015 +0300

----------------------------------------------------------------------
 .../ignite/client/integration/ClientAbstractSelfTest.java    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5673e3f9/modules/clients/src/test/java/org/apache/ignite/client/integration/ClientAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/clients/src/test/java/org/apache/ignite/client/integration/ClientAbstractSelfTest.java b/modules/clients/src/test/java/org/apache/ignite/client/integration/ClientAbstractSelfTest.java
index bdb97ba..cee7608 100644
--- a/modules/clients/src/test/java/org/apache/ignite/client/integration/ClientAbstractSelfTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/client/integration/ClientAbstractSelfTest.java
@@ -610,7 +610,13 @@ public abstract class ClientAbstractSelfTest extends GridCommonAbstractTest {
             }
         }, proto == GridClientProtocol.TCP ? GridClientException.class : IllegalArgumentException.class, null);
 
-        dfltData.getAll(Collections.singleton(null));
+        assertThrows(log, new Callable<Object>() {
+            @Override public Object call() throws Exception {
+                dfltData.getAll(Collections.singleton(null));
+
+                return null;
+            }
+        }, proto == GridClientProtocol.TCP ? GridClientException.class : IllegalArgumentException.class, null);
     }
 
     /**