You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2017/12/26 07:36:35 UTC
ignite git commit: .NET: Fix TestCacheDataSurvivesNodeRestart
Repository: ignite
Updated Branches:
refs/heads/master 0e0881317 -> d77c3da64
.NET: Fix TestCacheDataSurvivesNodeRestart
Reflect metrics changes from IGNITE-6339
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d77c3da6
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d77c3da6
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d77c3da6
Branch: refs/heads/master
Commit: d77c3da64e761f3a768edbb36144e8131682a7af
Parents: 0e08813
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Tue Dec 26 10:36:24 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Tue Dec 26 10:36:24 2017 +0300
----------------------------------------------------------------------
.../dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs | 4 +---
.../Cache/PersistentStoreTestObsolete.cs | 1 -
2 files changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/d77c3da6/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs
index e2c5cef..c1be392 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistenceTest.cs
@@ -134,14 +134,12 @@ namespace Apache.Ignite.Core.Tests.Cache
}
/// <summary>
- /// Checks the data storage metrics.
+ /// Checks that data storage metrics reflect some write operations.
/// </summary>
private static void CheckDataStorageMetrics(IIgnite ignite)
{
- // Check metrics.
var metrics = ignite.GetDataStorageMetrics();
Assert.Greater(metrics.WalLoggingRate, 0);
- Assert.Greater(metrics.WalWritingRate, 0);
Assert.Greater(metrics.WalFsyncTimeAverage, 0);
}
http://git-wip-us.apache.org/repos/asf/ignite/blob/d77c3da6/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTestObsolete.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTestObsolete.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTestObsolete.cs
index 6d6e9a9..6b59377 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTestObsolete.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTestObsolete.cs
@@ -79,7 +79,6 @@ namespace Apache.Ignite.Core.Tests.Cache
// Check some metrics.
var metrics = ignite.GetPersistentStoreMetrics();
Assert.Greater(metrics.WalLoggingRate, 0);
- Assert.Greater(metrics.WalWritingRate, 0);
Assert.Greater(metrics.WalFsyncTimeAverage, 0);
}