Skip to content

[9.1] Re-enable entitlements for various ingest tests (#130708) #130721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import org.elasticsearch.ingest.Processor;
import org.elasticsearch.ingest.RandomDocumentPicks;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
import org.junit.Before;

import java.io.InputStream;
Expand All @@ -39,7 +38,6 @@
import static org.hamcrest.Matchers.notNullValue;
import static org.hamcrest.Matchers.nullValue;

@WithoutEntitlements // ES-12084
public class AttachmentProcessorTests extends ESTestCase {

private Processor processor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.apache.tika.metadata.Metadata;
import org.elasticsearch.core.PathUtils;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;

import java.nio.file.DirectoryStream;
import java.nio.file.Files;
Expand All @@ -26,7 +25,6 @@
* comes back and no exception.
*/
@SuppressFileSystems("ExtrasFS") // don't try to parse extraN
@WithoutEntitlements // ES-12084
public class TikaDocTests extends ESTestCase {

/** some test files from tika test suite, zipped up */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
package org.elasticsearch.ingest.attachment;

import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;

@WithoutEntitlements // ES-12084
public class TikaImplTests extends ESTestCase {

public void testTikaLoads() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@

import org.elasticsearch.ElasticsearchParseException;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
import org.junit.Before;

import java.util.HashMap;
import java.util.Map;

import static org.hamcrest.Matchers.equalTo;

@WithoutEntitlements // ES-12084
public class RegisteredDomainProcessorFactoryTests extends ESTestCase {

private RegisteredDomainProcessor.Factory factory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.elasticsearch.ingest.TestIngestDocument;
import org.elasticsearch.ingest.common.RegisteredDomainProcessor.DomainInfo;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;

import java.util.Collections;
import java.util.Map;
Expand All @@ -31,7 +30,6 @@
* Effective TLDs (eTLDs) are not the same as DNS TLDs. Uses for eTLDs are listed here:
* https://publicsuffix.org/learn/
*/
@WithoutEntitlements // ES-12084
public class RegisteredDomainProcessorTests extends ESTestCase {

public void testGetRegisteredDomain() {
Expand Down