Skip to content

Commit 524dfb0

Browse files
authored
Run TLS Connection tests only in CI (with env vars) (#130)
run TLS tests only in CI (with env vars)
1 parent 508ca3d commit 524dfb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/NRedisStack.Tests/Examples/ExamplesTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ public void TestJsonConvert()
304304
Assert.Equal(10, docs.Count());
305305
}
306306

307+
#if CI_RUN_TESTS
308+
307309
#if NET481
308310
[Fact]
309311
public void TestRedisCloudConnection_net481()
@@ -568,6 +570,7 @@ public void TestRedisCloudConnection_DotnetCore3()
568570
var value = db.StringGet("testKey");
569571
Assert.Equal("testValue", value);
570572
}
573+
#endif
571574
#endif
572575

573576
[Fact]

0 commit comments

Comments
 (0)