mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
Fix PolicyManagerTests after package move (#121304)
* Fix PolicyManagerTests after package move * Unmute
This commit is contained in:
parent
011557d61b
commit
2bbf7c72db
2 changed files with 3 additions and 9 deletions
|
@ -305,8 +305,7 @@ public class PolicyManagerTests extends ESTestCase {
|
|||
)
|
||||
);
|
||||
assertEquals(
|
||||
"[server] using module [test] found duplicate flag entitlements "
|
||||
+ "[org.elasticsearch.entitlement.runtime.policy.CreateClassLoaderEntitlement]",
|
||||
"[server] using module [test] found duplicate flag entitlements " + "[" + CreateClassLoaderEntitlement.class.getName() + "]",
|
||||
iae.getMessage()
|
||||
);
|
||||
|
||||
|
@ -322,8 +321,7 @@ public class PolicyManagerTests extends ESTestCase {
|
|||
)
|
||||
);
|
||||
assertEquals(
|
||||
"[agent] using module [unnamed] found duplicate flag entitlements "
|
||||
+ "[org.elasticsearch.entitlement.runtime.policy.CreateClassLoaderEntitlement]",
|
||||
"[agent] using module [unnamed] found duplicate flag entitlements " + "[" + CreateClassLoaderEntitlement.class.getName() + "]",
|
||||
iae.getMessage()
|
||||
);
|
||||
|
||||
|
@ -355,8 +353,7 @@ public class PolicyManagerTests extends ESTestCase {
|
|||
)
|
||||
);
|
||||
assertEquals(
|
||||
"[plugin1] using module [test] found duplicate flag entitlements "
|
||||
+ "[org.elasticsearch.entitlement.runtime.policy.CreateClassLoaderEntitlement]",
|
||||
"[plugin1] using module [test] found duplicate flag entitlements " + "[" + CreateClassLoaderEntitlement.class.getName() + "]",
|
||||
iae.getMessage()
|
||||
);
|
||||
}
|
||||
|
|
|
@ -370,9 +370,6 @@ tests:
|
|||
issue: https://github.com/elastic/elasticsearch/issues/121293
|
||||
- class: org.elasticsearch.xpack.inference.common.InferenceServiceNodeLocalRateLimitCalculatorTests
|
||||
issue: https://github.com/elastic/elasticsearch/issues/121294
|
||||
- class: org.elasticsearch.entitlement.runtime.policy.PolicyManagerTests
|
||||
method: testDuplicateFlagEntitlements
|
||||
issue: https://github.com/elastic/elasticsearch/issues/121300
|
||||
|
||||
# Examples:
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue