@@ -66,7 +66,12 @@ [I] public async Task XPackInfoResponse() => await Assert<XPackInfoResponse>(XPa
66
66
r . Features . Watcher . Should ( ) . NotBeNull ( ) ;
67
67
r . License . Should ( ) . NotBeNull ( ) ;
68
68
69
+ // Flattened fields were moved from x-pack to core in 7.13.0 (https://github.com/elastic/elasticsearch/pull/68780)
70
+ if ( TestConfiguration . Instance . InRange ( ">=7.3.0" ) && TestConfiguration . Instance . InRange ( "<7.13.0" ) )
71
+ r . Features . Flattened . Should ( ) . NotBeNull ( ) ;
72
+
69
73
if ( TestConfiguration . Instance . InRange ( ">=7.3.0" ) )
74
+ {
70
75
r . Features . Vectors . Should ( ) . NotBeNull ( ) ;
71
76
72
77
if ( TestConfiguration . Instance . InRange ( ">=7.5.0" ) )
@@ -102,10 +107,27 @@ [I] public async Task XPackUsageResponse() => await Assert<XPackUsageResponse>(X
102
107
r . Alerting . Execution . Should ( ) . NotBeNull ( ) ;
103
108
r . Alerting . Watch . Should ( ) . NotBeNull ( ) ;
104
109
110
+ // Flattened fields were moved from x-pack to core in 7.13.0 (https://github.com/elastic/elasticsearch/pull/68780)
111
+ if ( TestConfiguration . Instance . InRange ( ">=7.3.0" ) && TestConfiguration . Instance . InRange ( "<7.13.0" ) )
112
+ r . Flattened . Should ( ) . NotBeNull ( ) ;
113
+
114
+ if ( TestConfiguration . Instance . InRange ( ">=7.6.0" ) && TestConfiguration . Instance . InRange ( "<7.13.0" ) )
115
+ r . Flattened . FieldCount . Should ( ) . HaveValue ( ) ;
116
+
105
117
if ( TestConfiguration . Instance . InRange ( ">=7.3.0" ) )
106
118
{
107
119
r . Vectors . Should ( ) . NotBeNull ( ) ;
108
120
r . VotingOnly . Should ( ) . NotBeNull ( ) ;
121
+
122
+ if ( TestConfiguration . Instance . InRange ( "<7.5.0" ) )
123
+ #pragma warning disable 618
124
+ r . DataFrame . Should ( ) . NotBeNull ( ) ;
125
+ #pragma warning restore 618
126
+ }
127
+
128
+ if ( TestConfiguration . Instance . InRange ( ">=7.5.0" ) )
129
+ {
130
+ r . Enrich . Should ( ) . NotBeNull ( ) ;
109
131
}
110
132
111
133
if ( TestConfiguration . Instance . InRange ( ">=7.8.0" ) )
0 commit comments