File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
libs/entitlement/src/test/java/org/elasticsearch/entitlement/runtime/policy Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -305,8 +305,7 @@ public void testDuplicateFlagEntitlements() {
305305 )
306306 );
307307 assertEquals (
308- "[server] using module [test] found duplicate flag entitlements "
309- + "[org.elasticsearch.entitlement.runtime.policy.CreateClassLoaderEntitlement]" ,
308+ "[server] using module [test] found duplicate flag entitlements " + "[" + CreateClassLoaderEntitlement .class .getName () + "]" ,
310309 iae .getMessage ()
311310 );
312311
@@ -322,8 +321,7 @@ public void testDuplicateFlagEntitlements() {
322321 )
323322 );
324323 assertEquals (
325- "[agent] using module [unnamed] found duplicate flag entitlements "
326- + "[org.elasticsearch.entitlement.runtime.policy.CreateClassLoaderEntitlement]" ,
324+ "[agent] using module [unnamed] found duplicate flag entitlements " + "[" + CreateClassLoaderEntitlement .class .getName () + "]" ,
327325 iae .getMessage ()
328326 );
329327
@@ -355,8 +353,7 @@ public void testDuplicateFlagEntitlements() {
355353 )
356354 );
357355 assertEquals (
358- "[plugin1] using module [test] found duplicate flag entitlements "
359- + "[org.elasticsearch.entitlement.runtime.policy.CreateClassLoaderEntitlement]" ,
356+ "[plugin1] using module [test] found duplicate flag entitlements " + "[" + CreateClassLoaderEntitlement .class .getName () + "]" ,
360357 iae .getMessage ()
361358 );
362359 }
Original file line number Diff line number Diff line change @@ -370,9 +370,6 @@ tests:
370370 issue : https://github.com/elastic/elasticsearch/issues/121293
371371- class : org.elasticsearch.xpack.inference.common.InferenceServiceNodeLocalRateLimitCalculatorTests
372372 issue : https://github.com/elastic/elasticsearch/issues/121294
373- - class : org.elasticsearch.entitlement.runtime.policy.PolicyManagerTests
374- method : testDuplicateFlagEntitlements
375- issue : https://github.com/elastic/elasticsearch/issues/121300
376373
377374# Examples:
378375#
You can’t perform that action at this time.
0 commit comments