Repository: ignite
Updated Branches:
  refs/heads/ignite-5479 ee44b5ff4 -> af770d70a


.NET: Improve config tests


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

Branch: refs/heads/ignite-5479
Commit: af770d70a6a6aa177aaa603f478143921522d092
Parents: ee44b5f
Author: Pavel Tupitsyn <[email protected]>
Authored: Wed Jul 12 13:32:55 2017 +0300
Committer: Pavel Tupitsyn <[email protected]>
Committed: Wed Jul 12 13:32:55 2017 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core.Tests/Config/spring-test.xml       | 4 ++++
 .../dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs   | 3 +++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/af770d70/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Config/spring-test.xml
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Config/spring-test.xml 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Config/spring-test.xml
index dd0669a..31fa3b3 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Config/spring-test.xml
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Config/spring-test.xml
@@ -56,5 +56,9 @@
                 </property>
             </bean>
         </property>
+
+        <property name="persistentStoreConfiguration">
+            <bean 
class="org.apache.ignite.configuration.PersistentStoreConfiguration"/>
+        </property>
     </bean>
 </beans>

http://git-wip-us.apache.org/repos/asf/ignite/blob/af770d70/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
index 0aa9e97..93d6af3 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs
@@ -316,6 +316,9 @@ namespace Apache.Ignite.Core.Tests
                 Assert.AreEqual(MemoryPolicyConfiguration.DefaultMaxSize, 
plc.MaxSize);
                 Assert.AreEqual(MemoryPolicyConfiguration.DefaultSubIntervals, 
plc.SubIntervals);
                 
Assert.AreEqual(MemoryPolicyConfiguration.DefaultRateTimeInterval, 
plc.RateTimeInterval);
+
+                // Check PersistentStoreConfiguration defaults.
+                CheckDefaultProperties(resCfg.PersistentStoreConfiguration);
             }
         }
 

Reply via email to