File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
server/src/test/java/org/elasticsearch Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,12 @@ tests:
611611- class : org.elasticsearch.xpack.esql.action.EsqlActionBreakerIT
612612 method : testTopNPushedToLucene
613613 issue : https://github.com/elastic/elasticsearch/issues/130505
614+ - class : org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
615+ method : test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔and LIMIT 1}
616+ issue : https://github.com/elastic/elasticsearch/issues/130506
617+ - class : org.elasticsearch.xpack.logsdb.LogsdbTestSuiteIT
618+ method : test {yaml=/52_esql_insist_operator_synthetic_source/FROM with INSIST_🐔}
619+ issue : https://github.com/elastic/elasticsearch/issues/130507
614620
615621
616622# Examples:
Original file line number Diff line number Diff line change 1313import org .elasticsearch .test .TransportVersionUtils ;
1414
1515import java .lang .reflect .Modifier ;
16+ import java .util .List ;
1617import java .util .Set ;
1718import java .util .regex .Matcher ;
1819import java .util .regex .Pattern ;
@@ -207,4 +208,16 @@ public void testToString() {
207208 assertEquals ("2000099" , TransportVersion .fromId (2_00_00_99 ).toString ());
208209 assertEquals ("5000099" , TransportVersion .fromId (5_00_00_99 ).toString ());
209210 }
211+
212+ public void testDuplicateConstants () {
213+ List <TransportVersion > tvs = TransportVersion .getAllVersions ();
214+ TransportVersion previous = tvs .get (0 );
215+ for (int i = 1 ; i < tvs .size (); i ++) {
216+ TransportVersion next = tvs .get (i );
217+ if (next .id () == previous .id ()) {
218+ throw new AssertionError ("Duplicate transport version id: " + next .id ());
219+ }
220+ previous = next ;
221+ }
222+ }
210223}
You can’t perform that action at this time.
0 commit comments