@@ -712,22 +712,22 @@ public void testCheckForCcsLicense() {
712712 List <TableInfo > indices = new ArrayList <>();
713713 indices .add (new TableInfo (new IndexPattern (EMPTY , randomFrom ("idx" , "idx1,idx2*" ))));
714714
715- checkForCcsLicense (executionInfo , indices , indicesGrouper , enterpriseLicenseValid );
716- checkForCcsLicense (executionInfo , indices , indicesGrouper , platinumLicenseValid );
717- checkForCcsLicense (executionInfo , indices , indicesGrouper , goldLicenseValid );
718- checkForCcsLicense (executionInfo , indices , indicesGrouper , trialLicenseValid );
719- checkForCcsLicense (executionInfo , indices , indicesGrouper , basicLicenseValid );
720- checkForCcsLicense (executionInfo , indices , indicesGrouper , standardLicenseValid );
721- checkForCcsLicense (executionInfo , indices , indicesGrouper , missingLicense );
722- checkForCcsLicense (executionInfo , indices , indicesGrouper , nullLicense );
723-
724- checkForCcsLicense (executionInfo , indices , indicesGrouper , enterpriseLicenseInactive );
725- checkForCcsLicense (executionInfo , indices , indicesGrouper , platinumLicenseInactive );
726- checkForCcsLicense (executionInfo , indices , indicesGrouper , goldLicenseInactive );
727- checkForCcsLicense (executionInfo , indices , indicesGrouper , trialLicenseInactive );
728- checkForCcsLicense (executionInfo , indices , indicesGrouper , basicLicenseInactive );
729- checkForCcsLicense (executionInfo , indices , indicesGrouper , standardLicenseInactive );
730- checkForCcsLicense (executionInfo , indices , indicesGrouper , missingLicenseInactive );
715+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), enterpriseLicenseValid );
716+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), platinumLicenseValid );
717+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), goldLicenseValid );
718+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), trialLicenseValid );
719+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), basicLicenseValid );
720+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), standardLicenseValid );
721+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), missingLicense );
722+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), nullLicense );
723+
724+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), enterpriseLicenseInactive );
725+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), platinumLicenseInactive );
726+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), goldLicenseInactive );
727+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), trialLicenseInactive );
728+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), basicLicenseInactive );
729+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), standardLicenseInactive );
730+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), missingLicenseInactive );
731731 }
732732
733733 // cross-cluster search requires a valid (active, non-expired) enterprise license OR a valid trial license
@@ -742,8 +742,8 @@ public void testCheckForCcsLicense() {
742742 }
743743
744744 // licenses that work
745- checkForCcsLicense (executionInfo , indices , indicesGrouper , enterpriseLicenseValid );
746- checkForCcsLicense (executionInfo , indices , indicesGrouper , trialLicenseValid );
745+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), enterpriseLicenseValid );
746+ checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), trialLicenseValid );
747747
748748 // all others fail ---
749749
@@ -812,7 +812,7 @@ private void assertLicenseCheckFails(
812812 EsqlExecutionInfo executionInfo = new EsqlExecutionInfo (true );
813813 ElasticsearchStatusException e = expectThrows (
814814 ElasticsearchStatusException .class ,
815- () -> checkForCcsLicense (executionInfo , indices , indicesGrouper , licenseState )
815+ () -> checkForCcsLicense (executionInfo , indices , indicesGrouper , Set . of (), licenseState )
816816 );
817817 assertThat (e .status (), equalTo (RestStatus .BAD_REQUEST ));
818818 assertThat (
0 commit comments