ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [10/50] [abbrv] incubator-ignite git commit: #IGNITE-106: Fix tests.
Date Wed, 04 Feb 2015 23:50:24 GMT
#IGNITE-106: Fix tests.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/30f562ac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/30f562ac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/30f562ac

Branch: refs/heads/ignite-sql
Commit: 30f562ac2fea5c1710a1ab89feb740c40502889d
Parents: 6d42a7e
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Feb 3 17:41:07 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Feb 3 17:41:07 2015 +0300

----------------------------------------------------------------------
 examples/config/filesystem/example-ignitefs.xml          | 11 +++++++----
 .../apache/ignite/examples/datagrid/CacheApiExample.java |  4 +++-
 2 files changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/30f562ac/examples/config/filesystem/example-ignitefs.xml
----------------------------------------------------------------------
diff --git a/examples/config/filesystem/example-ignitefs.xml b/examples/config/filesystem/example-ignitefs.xml
index 8bdcfb8..2f1ae15 100644
--- a/examples/config/filesystem/example-ignitefs.xml
+++ b/examples/config/filesystem/example-ignitefs.xml
@@ -27,9 +27,12 @@
     Ignition.start("examples/config/filesystem/example-ignitefs.xml");
 -->
 <beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-       http://www.springframework.org/schema/beans/spring-beans.xsd">
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans
+       http://www.springframework.org/schema/beans/spring-beans.xsd
+       http://www.springframework.org/schema/util
+       http://www.springframework.org/schema/util/spring-util.xsd">
 
     <!--
         Optional description.
@@ -60,7 +63,7 @@
             </bean>
         </property>
 
-        <property name="igniteFsConfiguration">
+        <property name="ggfsConfiguration">
             <list>
                 <bean class="org.apache.ignite.fs.IgniteFsConfiguration">
                     <property name="name" value="ignitefs"/>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/30f562ac/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
index 1b9aee6..ed4da58 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
@@ -81,6 +81,8 @@ public class CacheApiExample {
 
         asyncCache.put(3, "3");
 
+        asyncCache.get(3);
+
         IgniteFuture<String> fut = asyncCache.future();
 
         //Asynchronously wait for result.
@@ -88,7 +90,7 @@ public class CacheApiExample {
             @Override
             public void apply(IgniteFuture<String> fut) {
                 try {
-                    System.out.println("Put operation completed [previous-value=" + fut.get(3)
+ ']');
+                    System.out.println("Put operation completed [previous-value=" + fut.get()
+ ']');
                 }
                 catch (IgniteException e) {
                     e.printStackTrace();


Mime
View raw message