Browse Source

Disable entitlements for DirectIOIT, the suite requires delegation to work (#131505) (#131512)

Disable entitlements for DirectIOIT, the suite requires delegation to
work.

On main the suite is skipped (direct IO is disabled by default), but
this blocks backports.
Moritz Mack 2 months ago
parent
commit
0c941f28d9

+ 2 - 0
server/src/internalClusterTest/java/org/elasticsearch/index/store/DirectIOIT.java

@@ -21,6 +21,7 @@ import org.elasticsearch.plugins.Plugin;
 import org.elasticsearch.search.vectors.KnnSearchBuilder;
 import org.elasticsearch.search.vectors.VectorData;
 import org.elasticsearch.test.ESIntegTestCase;
+import org.elasticsearch.test.ESTestCase;
 import org.elasticsearch.test.InternalSettingsPlugin;
 import org.elasticsearch.test.MockLog;
 import org.elasticsearch.test.junit.annotations.TestLogging;
@@ -40,6 +41,7 @@ import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.is;
 
 @LuceneTestCase.SuppressCodecs("*") // only use our own codecs
+@ESTestCase.WithoutEntitlements // requires entitlement delegation ES-10920
 public class DirectIOIT extends ESIntegTestCase {
 
     @BeforeClass