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

Commit a9b99b5

Browse files
committed
Ignore tests on .NET Core require BinaryFormatter
1 parent e38119e commit a9b99b5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/ServiceStack.Redis.Tests/ObjectSerializerTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
namespace ServiceStack.Redis.Tests
55
{
66
[TestFixture]
7+
#if NETCORE
8+
[Ignore(".NET Core does not implement BinaryFormatter required for these tests")]
9+
#endif
710
public class ObjectSerializerTests
811
{
912
[Test]

tests/ServiceStack.Redis.Tests/QueueTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
namespace ServiceStack.Redis.Tests
88
{
99
[TestFixture]
10+
#if NETCORE
11+
[Ignore(".NET Core does not implement BinaryFormatter required for these tests")]
12+
#endif
1013
public class QueueTests : RedisClientTestsBase
1114
{
1215
const int numMessages = 6;
@@ -144,7 +147,7 @@ public void TestChronologicalWorkQueue()
144147
}
145148

146149
[Test]
147-
public void TestSimpleWorkQueue()
150+
public void TestSimpleWorkQueue()
148151
{
149152
using (var queue = new RedisSimpleWorkQueue<string>(10, 10, TestConfig.SingleHost, TestConfig.RedisPort))
150153
{

0 commit comments

Comments
 (0)