diff --git a/tests/NRedisStack.Tests/Examples/ExamplesTests.cs b/tests/NRedisStack.Tests/Examples/ExamplesTests.cs index d95fc2da..5dc02eed 100644 --- a/tests/NRedisStack.Tests/Examples/ExamplesTests.cs +++ b/tests/NRedisStack.Tests/Examples/ExamplesTests.cs @@ -304,6 +304,8 @@ public void TestJsonConvert() Assert.Equal(10, docs.Count()); } +#if CI_RUN_TESTS + #if NET481 [Fact] public void TestRedisCloudConnection_net481() @@ -568,6 +570,7 @@ public void TestRedisCloudConnection_DotnetCore3() var value = db.StringGet("testKey"); Assert.Equal("testValue", value); } +#endif #endif [Fact]