Skip to content

Commit 68e9386

Browse files
committed
Tests: more logging on scans
1 parent 7445718 commit 68e9386

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

StackExchange.Redis.Tests/Scans.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,15 @@ public void ScanResume()
112112
snapCursor = ((IScanningCursor)seq).Cursor;
113113
snapOffset = ((IScanningCursor)seq).PageOffset;
114114
snapPageSize = ((IScanningCursor)seq).PageSize;
115+
Output.WriteLine($"i: {i}, Cursor: {snapCursor}, Offset: {snapOffset}, PageSize: {snapPageSize}");
115116
}
116117
if (i >= 57)
117118
{
118119
expected.Add((string)key);
119120
}
120121
i++;
121122
}
123+
Output.WriteLine($"Expected: 43, Actual: {expected.Count}, Cursor: {snapCursor}, Offset: {snapOffset}, PageSize: {snapPageSize}");
122124
Assert.Equal(43, expected.Count);
123125
Assert.NotEqual(0, snapCursor);
124126
Assert.Equal(11, snapOffset);

0 commit comments

Comments
 (0)