Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 41e1b9d

Browse files
committed
Print dump of stats of 64 concurrent tests
1 parent c4a4f15 commit 41e1b9d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tests/ServiceStack.Redis.Tests/Integration/RedisRegressionTestRun.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public void onBeforeTestFixture()
2222
testData = TypeSerializer.SerializeToString(results);
2323
}
2424

25-
[Explicit]
2625
[Test]
2726
public void Can_support_64_threads_using_the_client_simultaneously()
2827
{
@@ -45,7 +44,9 @@ public void Can_support_64_threads_using_the_client_simultaneously()
4544

4645
WaitHandle.WaitAll(clientAsyncResults.ConvertAll(x => x.AsyncWaitHandle).ToArray());
4746

48-
Debug.WriteLine(String.Format("Completed in {0} ticks", (Stopwatch.GetTimestamp() - before)));
47+
Debug.WriteLine(string.Format("Completed in {0} ticks", (Stopwatch.GetTimestamp() - before)));
48+
49+
RedisStats.ToDictionary().PrintDump();
4950
}
5051

5152
[Test]

tests/ServiceStack.Redis.Tests/PooledRedisClientManagerTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,9 @@ public void Can_support_64_threads_using_the_client_simultaneously()
410410

411411
WaitHandle.WaitAll(clientAsyncResults.ConvertAll(x => x.AsyncWaitHandle).ToArray());
412412

413-
Debug.WriteLine(TypeSerializer.SerializeToString(clientUsageMap));
413+
RedisStats.ToDictionary().PrintDump();
414+
415+
Debug.WriteLine(TypeSerializer.SerializeToString(clientUsageMap));
414416

415417
var hostCount = 0;
416418
foreach (var entry in clientUsageMap)

0 commit comments

Comments
 (0)