Skip to content

Commit 706b959

Browse files
committed
Fix Netty4HttpServerTransportTests if run with FIPS and entitlements
1 parent 7d6bbfa commit 706b959

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -605,12 +605,6 @@ tests:
605605
- class: org.elasticsearch.reindex.ReindexFromRemoteBuildRestClientTests
606606
method: testBuildRestClient
607607
issue: https://github.com/elastic/elasticsearch/issues/130588
608-
- class: org.elasticsearch.http.netty4.Netty4HttpServerTransportTests
609-
method: testRespondAfterServiceCloseWithClientCancel
610-
issue: https://github.com/elastic/elasticsearch/issues/130590
611-
- class: org.elasticsearch.http.netty4.Netty4HttpServerTransportTests
612-
method: testRespondAfterServiceCloseWithServerCancel
613-
issue: https://github.com/elastic/elasticsearch/issues/130591
614608
- class: org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT
615609
method: test
616610
issue: https://github.com/elastic/elasticsearch/issues/130067

test/framework/src/main/java/org/elasticsearch/entitlement/runtime/policy/TestPolicyManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ private boolean isTestCode(Class<?> requestingClass) {
159159
"org.junit",
160160
"org.mockito",
161161
"net.bytebuddy", // Mockito uses this
162+
163+
"org.bouncycastle.jsse.provider" // Used in test code if FIPS is enabled, support more fine-grained config in ES-12128
162164
};
163165

164166
@Override

0 commit comments

Comments
 (0)