Skip to content

Commit 3cc9307

Browse files
committed
skip more FT.* ops in pre-8 cluster
1 parent 38703be commit 3cc9307

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/NRedisStack.Tests/Search/SearchTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ public async Task TestAggregationsLoadAsync(string endpointId)
314314
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
315315
public void TestAggregationRequestParamsDialect(string endpointId)
316316
{
317+
SkipClusterPre8(endpointId);
317318
IDatabase db = GetCleanDatabase(endpointId);
318319
var ft = db.FT();
319320
Schema sc = new();
@@ -345,6 +346,7 @@ public void TestAggregationRequestParamsDialect(string endpointId)
345346
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
346347
public async Task TestAggregationRequestParamsDialectAsync(string endpointId)
347348
{
349+
SkipClusterPre8(endpointId);
348350
IDatabase db = GetCleanDatabase(endpointId);
349351
var ft = db.FT();
350352
Schema sc = new();
@@ -377,6 +379,7 @@ public async Task TestAggregationRequestParamsDialectAsync(string endpointId)
377379
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
378380
public void TestAggregationRequestParamsWithDefaultDialect(string endpointId)
379381
{
382+
SkipClusterPre8(endpointId);
380383
IDatabase db = GetCleanDatabase(endpointId);
381384
var ft = db.FT(2);
382385
Schema sc = new();
@@ -408,6 +411,7 @@ public void TestAggregationRequestParamsWithDefaultDialect(string endpointId)
408411
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
409412
public async Task TestAggregationRequestParamsWithDefaultDialectAsync(string endpointId)
410413
{
414+
SkipClusterPre8(endpointId);
411415
IDatabase db = GetCleanDatabase(endpointId);
412416
var ft = db.FT(2);
413417
Schema sc = new();
@@ -447,6 +451,7 @@ public void TestDefaultDialectError()
447451
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
448452
public void TestAlias(string endpointId)
449453
{
454+
SkipClusterPre8(endpointId);
450455
IDatabase db = GetCleanDatabase(endpointId);
451456
var ft = db.FT();
452457
Schema sc = new Schema().AddTextField("field1");
@@ -485,6 +490,7 @@ public void TestAlias(string endpointId)
485490
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
486491
public async Task TestAliasAsync(string endpointId)
487492
{
493+
SkipClusterPre8(endpointId);
488494
IDatabase db = GetCleanDatabase(endpointId);
489495
var ft = db.FT();
490496
Schema sc = new Schema().AddTextField("field1");

0 commit comments

Comments
 (0)