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

Commit 112b516

Browse files
committed
Ignore system clock sensitive tests
1 parent 06e3fc9 commit 112b516

9 files changed

Lines changed: 3 additions & 1 deletion

lib/ServiceStack.Common.dll

0 Bytes
Binary file not shown.

lib/tests/ServiceStack.Client.dll

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

lib/tests/ServiceStack.Common.dll

0 Bytes
Binary file not shown.

lib/tests/ServiceStack.Server.dll

0 Bytes
Binary file not shown.

lib/tests/ServiceStack.dll

0 Bytes
Binary file not shown.

tests/ServiceStack.Redis.Tests/Generic/RedisTypedClientTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ public void Can_Expire()
8181
Assert.That(RedisTyped.GetById("key"), Is.Null);
8282
}
8383

84-
[Test]
84+
[Explicit("Changes in system clock can break test")]
85+
[Test]
8586
public void Can_ExpireAt()
8687
{
8788
var cachedRecord = new CacheRecord

tests/ServiceStack.Redis.Tests/RedisClientTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public void Can_Expire_Ms()
181181
Assert.That(Redis.ContainsKey("key"), Is.False);
182182
}
183183

184+
[Explicit("Changes in system clock can break test")]
184185
[Test]
185186
public void Can_ExpireAt()
186187
{

0 commit comments

Comments
 (0)