ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [18/50] [abbrv] incubator-ignite git commit: Ignite-107 test fix
Date Tue, 27 Jan 2015 12:58:06 GMT
Ignite-107 test fix


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

Branch: refs/heads/ignite-86
Commit: bb85abe6a5484dcd8c43ba2738c1a4f382273302
Parents: b7ce0dc
Author: avinogradov <avinogradov@gridgain.com>
Authored: Mon Jan 26 15:05:12 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Mon Jan 26 15:05:12 2015 +0300

----------------------------------------------------------------------
 .../test/resources/spring-ping-pong-partner.xml | 40 ++++----------------
 1 file changed, 8 insertions(+), 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bb85abe6/modules/scalar/src/test/resources/spring-ping-pong-partner.xml
----------------------------------------------------------------------
diff --git a/modules/scalar/src/test/resources/spring-ping-pong-partner.xml b/modules/scalar/src/test/resources/spring-ping-pong-partner.xml
index cb13b80..5801394 100644
--- a/modules/scalar/src/test/resources/spring-ping-pong-partner.xml
+++ b/modules/scalar/src/test/resources/spring-ping-pong-partner.xml
@@ -31,9 +31,6 @@
     <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
         <property name="gridName" value="partner"/>
 
-        <!-- Set to local host address just for examples. -->
-        <property name="localHost" value="127.0.0.1"/>
-
         <!-- Set deployment mode to be able to deploy jobs and tasks on that node. -->
         <property name="deploymentMode" value="SHARED"/>
 
@@ -83,42 +80,21 @@
         <property name="discoverySpi">
             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                 <property name="ipFinder">
-                    <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
-                        <property name="addresses">
-                            <list>
-                                <!--
-                                    List all IP/port configurations that potentially
-                                    can be started first in examples. We are assuming
-                                    grid of size 10 or less.
-                                -->
-                                <value>127.0.0.1:47500</value>
-                                <value>127.0.0.1:47501</value>
-                                <value>127.0.0.1:47502</value>
-                                <value>127.0.0.1:47503</value>
-                                <value>127.0.0.1:47504</value>
-                                <value>127.0.0.1:47505</value>
-                                <value>127.0.0.1:47506</value>
-                                <value>127.0.0.1:47507</value>
-                                <value>127.0.0.1:47508</value>
-                                <value>127.0.0.1:47509</value>
-                            </list>
-                        </property>
-                    </bean>
                     <!--
-                    Uncomment this to provide IP finder using multicast for nodes discovery.
-                    In addition to addresses received via multicast this finder can work
with pre-configured
-                    list of addresses.
+                        GridGain provides several options for automatic discovery that can
be used
+                        instead os static IP based discovery. For information on all options
refer
+                        to our documentation: http://doc.gridgain.org/latest/Automatic+Node+Discovery
                     -->
-                    <!--
-                    <bean class="org.gridgain.grid.spi.discovery.tcp.ipfinder.multicast.GridTcpDiscoveryMulticastIpFinder">
+                    <!-- Uncomment static IP finder to enable static-based discovery of
initial nodes. -->
+                    <!--<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">-->
+                    <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
                         <property name="addresses">
                             <list>
-                                <value>host1:port1</value>
-                                <value>host2:port2</value>
+                                <!-- In distributed environment, replace with actual host
IP address. -->
+                                <value>127.0.0.1:47500..47509</value>
                             </list>
                         </property>
                     </bean>
-                    -->
                 </property>
             </bean>
         </property>


Mime
View raw message