ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [2/3] incubator-ignite git commit: # ignite-91 Fixed test
Date Thu, 29 Jan 2015 04:08:08 GMT
# 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-91
Commit: 5673e3f979b58f70a18a795be3eb884cc961a93c
Parents: e45b390
Author: sboikov <semen.boikov@inria.fr>
Authored: Thu Jan 29 06:04:36 2015 +0300
Committer: sboikov <semen.boikov@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);
     }
 
     /**


Mime
View raw message