Skip to content

Commit c7097ee

Browse files
committed
skip a bunch more tests on cluster pre 8
1 parent d6f6020 commit c7097ee

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/NRedisStack.Tests/Search/SearchTests.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ public async Task TestAggregationRequestTimeoutAsync(string endpointId)
165165
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
166166
public void TestAggregations(string endpointId)
167167
{
168+
SkipClusterPre8(endpointId);
168169
IDatabase db = GetCleanDatabase(endpointId);
169170
var ft = db.FT();
170171
Schema sc = new();
@@ -204,6 +205,7 @@ public void TestAggregations(string endpointId)
204205
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
205206
public async Task TestAggregationsAsync(string endpointId)
206207
{
208+
SkipClusterPre8(endpointId);
207209
IDatabase db = GetCleanDatabase(endpointId);
208210
var ft = db.FT();
209211
Schema sc = new();
@@ -278,6 +280,7 @@ public void TestAggregationsLoad(string endpointId)
278280
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
279281
public async Task TestAggregationsLoadAsync(string endpointId)
280282
{
283+
SkipClusterPre8(endpointId);
281284
IDatabase db = GetCleanDatabase(endpointId);
282285
var ft = db.FT();
283286
var sc = new Schema().AddTextField("t1").AddTextField("t2");
@@ -520,6 +523,7 @@ public async Task TestAliasAsync(string endpointId)
520523
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
521524
public void TestApplyAndFilterAggregations(string endpointId)
522525
{
526+
SkipClusterPre8(endpointId);
523527
IDatabase db = GetCleanDatabase(endpointId);
524528
var ft = db.FT();
525529
Schema sc = new();
@@ -614,6 +618,7 @@ public void TestCreate(string endpointId)
614618
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
615619
public async Task TestCreateAsync(string endpointId)
616620
{
621+
SkipClusterPre8(endpointId);
617622
IDatabase db = GetCleanDatabase(endpointId);
618623
var ft = db.FT();
619624
var schema = new Schema().AddTextField("first").AddTextField("last").AddNumericField("age");
@@ -672,6 +677,7 @@ public void CreateNoParams(string endpointId)
672677
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
673678
public async Task CreateNoParamsAsync(string endpointId)
674679
{
680+
SkipClusterPre8(endpointId);
675681
IDatabase db = GetCleanDatabase(endpointId);
676682
var ft = db.FT();
677683

@@ -745,6 +751,7 @@ public void FailWhenAttributeNotExist(string endpointId)
745751
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
746752
public async Task CreateWithFieldNamesAsync(string endpointId)
747753
{
754+
SkipClusterPre8(endpointId);
748755
IDatabase db = GetCleanDatabase(endpointId);
749756
var ft = db.FT();
750757
Schema sc = new Schema().AddField(new TextField(FieldName.Of("first").As("given")))
@@ -788,6 +795,7 @@ public async Task FailWhenAttributeNotExistAsync(string endpointId)
788795
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
789796
public void AlterAdd(string endpointId)
790797
{
798+
SkipClusterPre8(endpointId);
791799
IDatabase db = GetCleanDatabase(endpointId);
792800
var ft = db.FT();
793801
Schema sc = new Schema().AddTextField("title", 1.0);
@@ -1082,6 +1090,7 @@ public void InfoWithIndexEmptyAndIndexMissing(string endpointId)
10821090
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
10831091
public async Task AlterAddSortableAsync(string endpointId)
10841092
{
1093+
SkipClusterPre8(endpointId);
10851094
IDatabase db = GetCleanDatabase(endpointId);
10861095
var ft = db.FT();
10871096
Schema sc = new Schema().AddTextField("title", 1.0, sortable: true);
@@ -1585,6 +1594,7 @@ public void TestAggregationGroupBy(string endpointId)
15851594
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
15861595
public void TestDictionary(string endpointId)
15871596
{
1597+
SkipClusterPre8(endpointId);
15881598
IDatabase db = GetCleanDatabase(endpointId);
15891599
var ft = db.FT();
15901600

@@ -1764,6 +1774,7 @@ public async Task dropIndexDDAsync(string endpointId)
17641774
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
17651775
public async Task TestDictionaryAsync(string endpointId)
17661776
{
1777+
SkipClusterPre8(endpointId);
17671778
IDatabase db = GetCleanDatabase(endpointId);
17681779
var ft = db.FT();
17691780

@@ -1976,6 +1987,7 @@ public void TestModulePrefixs()
19761987
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
19771988
public async Task GetTagFieldSyncAsync(string endpointId)
19781989
{
1990+
SkipClusterPre8(endpointId);
19791991
IDatabase db = GetCleanDatabase(endpointId);
19801992
var ft = db.FT();
19811993
Schema sc = new Schema()
@@ -2034,6 +2046,7 @@ public async Task GetTagFieldSyncAsync(string endpointId)
20342046
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
20352047
public async Task TestGetTagFieldWithNonDefaultSeparatorSyncAsync(string endpointId)
20362048
{
2049+
SkipClusterPre8(endpointId);
20372050
IDatabase db = GetCleanDatabase(endpointId);
20382051
var ft = db.FT();
20392052
Schema sc = new Schema()
@@ -2220,6 +2233,7 @@ public void TestFilters(string endpointId)
22202233
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
22212234
public async Task TestFiltersAsync(string endpointId)
22222235
{
2236+
SkipClusterPre8(endpointId);
22232237
IDatabase db = GetCleanDatabase(endpointId);
22242238
var ft = db.FT();
22252239
// Create the index with the same fields as in the original test
@@ -2583,6 +2597,7 @@ public void TestVectorCount_Issue70()
25832597
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
25842598
public void VectorSimilaritySearch(string endpointId)
25852599
{
2600+
SkipClusterPre8(endpointId);
25862601
IDatabase db = GetCleanDatabase(endpointId);
25872602
var ft = db.FT();
25882603
var json = db.JSON();
@@ -2676,6 +2691,7 @@ public async Task TestVectorFieldJson_Issue102Async()
26762691
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
26772692
public void TestQueryAddParam_DefaultDialect(string endpointId)
26782693
{
2694+
SkipClusterPre8(endpointId);
26792695
IDatabase db = GetCleanDatabase(endpointId);
26802696
var ft = db.FT(2);
26812697

@@ -2696,6 +2712,7 @@ public void TestQueryAddParam_DefaultDialect(string endpointId)
26962712
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
26972713
public async Task TestQueryAddParam_DefaultDialectAsync(string endpointId)
26982714
{
2715+
SkipClusterPre8(endpointId);
26992716
IDatabase db = GetCleanDatabase(endpointId);
27002717
var ft = db.FT(2);
27012718

@@ -3172,6 +3189,7 @@ public async Task TestProfileSearchAsync(string endpointId)
31723189
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
31733190
public void TestProfileSearch_WithoutCoordinator(string endpointId)
31743191
{
3192+
SkipClusterPre8(endpointId);
31753193
IDatabase db = GetCleanDatabase(endpointId);
31763194
var ft = db.FT();
31773195

@@ -3192,6 +3210,7 @@ public void TestProfileSearch_WithoutCoordinator(string endpointId)
31923210
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
31933211
public async Task TestProfileSearchAsync_WithoutCoordinator(string endpointId)
31943212
{
3213+
SkipClusterPre8(endpointId);
31953214
IDatabase db = GetCleanDatabase(endpointId);
31963215
var ft = db.FT();
31973216

@@ -3284,6 +3303,7 @@ public async Task TestProfileAsync(string endpointId)
32843303
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
32853304
public void TestProfile_WithoutCoordinator(string endpointId)
32863305
{
3306+
SkipClusterPre8(endpointId);
32873307
IDatabase db = GetCleanDatabase(endpointId);
32883308
var ft = db.FT();
32893309

@@ -3314,6 +3334,7 @@ public void TestProfile_WithoutCoordinator(string endpointId)
33143334
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
33153335
public async Task TestProfileAsync_WithoutCoordinator(string endpointId)
33163336
{
3337+
SkipClusterPre8(endpointId);
33173338
IDatabase db = GetCleanDatabase(endpointId);
33183339
var ft = db.FT();
33193340

@@ -3344,6 +3365,7 @@ public async Task TestProfileAsync_WithoutCoordinator(string endpointId)
33443365
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
33453366
public void TestProfileIssue306(string endpointId)
33463367
{
3368+
SkipClusterPre8(endpointId);
33473369
IDatabase db = GetCleanDatabase(endpointId);
33483370
var ft = db.FT();
33493371

@@ -3571,6 +3593,7 @@ public async Task GeoShapeFilterSphericalAsync(string endpointId)
35713593
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
35723594
public void GeoShapeFilterFlat(string endpointId)
35733595
{
3596+
SkipClusterPre8(endpointId);
35743597
IDatabase db = GetCleanDatabase(endpointId);
35753598
var ft = db.FT();
35763599
WKTReader reader = new();
@@ -3626,6 +3649,7 @@ public void GeoShapeFilterFlat(string endpointId)
36263649
[MemberData(nameof(EndpointsFixture.Env.AllEnvironments), MemberType = typeof(EndpointsFixture.Env))]
36273650
public async Task GeoShapeFilterFlatAsync(string endpointId)
36283651
{
3652+
SkipClusterPre8(endpointId);
36293653
IDatabase db = GetCleanDatabase(endpointId);
36303654
var ft = db.FT();
36313655
WKTReader reader = new();

0 commit comments

Comments
 (0)