Skip to content

Commit 4498891

Browse files
committed
fix failing test with compatible use of test context
1 parent 7c33be2 commit 4498891

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/NRedisStack.Tests/Search/IndexCreationTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,11 @@ public void TestMissingSortableFieldCommandArgs()
186186
Assert.Equal(expectedArgs, cmd.Args);
187187
}
188188

189-
[SkipIfRedis(Comparison.LessThan, "7.3.240")]
190-
[MemberData(nameof(EndpointsFixture.Env.StandaloneOnly), MemberType = typeof(EndpointsFixture.Env))]
191-
public void TestCombiningMissingEmptySortableFields(string endpointId)
189+
[SkipIfRedis(Is.OSSCluster, Comparison.LessThan, "7.3.240")]
190+
public void TestCombiningMissingEmptySortableFields()
192191
{
193192
string idx = "MISSING_EMPTY_SORTABLE_INDEX";
194-
IDatabase db = GetCleanDatabase(endpointId);
193+
IDatabase db = redisFixture.Redis.GetDatabase();
195194
var ft = db.FT(2);
196195
var vectorAttrs = new Dictionary<string, object>()
197196
{

0 commit comments

Comments
 (0)