Skip to content

Commit 0b1a734

Browse files
committed
Fix execution guards for some standalone-only tests
1 parent 2c8e4ca commit 0b1a734

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/NRedisStack.Tests/Search/IndexCreationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void TestMissingEmptyFieldCommandArgs()
4242
}
4343

4444
[SkipIfRedis(Comparison.LessThan, "7.3.240")]
45-
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
45+
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
4646
public void TestMissingFields(string endpointId)
4747
{
4848
IDatabase db = GetCleanDatabase(endpointId);

tests/NRedisStack.Tests/TransactionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public TransactionTests(EndpointsFixture endpointsFixture) : base(endpointsFixtu
1515
}
1616

1717
[SkippableTheory]
18-
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
18+
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
1919
public void TestJsonTransaction(string endpointId)
2020
{
2121
IDatabase db = GetCleanDatabase(endpointId);
@@ -34,7 +34,7 @@ public void TestJsonTransaction(string endpointId)
3434
}
3535

3636
[SkipIfRedis(Comparison.GreaterThanOrEqual, "7.1.242")]
37-
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
37+
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
3838
[Obsolete]
3939
public void TestModulesTransaction(string endpointId)
4040
{

0 commit comments

Comments
 (0)