-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
CI Link
Repro line
cd plugin/examples; ./gradlew build --include-build ../..
Does it reproduce?
Yes
Applicable branches
master
Failure history
No response
Failure excerpt
The example projects fails with a compile error caused by this change here: #86206
This is blocking current PR checks as example pr build is failing.
the stack trace:
Task :security-authorization-engine:compileTestJava FAILED
09:14:22 /dev/shm/elastic+elasticsearch+pull-request+example-plugins/plugins/examples/security-authorization-engine/src/test/java/org/elasticsearch/example/CustomAuthorizationEngineTests.java:56: error: no suitable constructor found for Authentication(User,RealmRef,RealmRef)
09:14:22 new Authentication(new User("joe", new String[]{"custom_superuser"}, new User("bar", "not_superuser")),
09:14:22 ^
09:14:22 constructor Authentication.Authentication(User,RealmRef,RealmRef,Version,AuthenticationType,Map<String,Object>) is not applicable
09:14:22 (actual and formal argument lists differ in length)
09:14:22 constructor Authentication.Authentication(StreamInput) is not applicable
09:14:22 (actual and formal argument lists differ in length)
09:14:22 /dev/shm/elastic+elasticsearch+pull-request+example-plugins/plugins/examples/security-authorization-engine/src/test/java/org/elasticsearch/example/CustomAuthorizationEngineTests.java:73: error: no suitable constructor found for Authentication(User,RealmRef,RealmRef)
09:14:22 new Authentication(new User("joe", new String[]{"not_superuser"}, new User("bar", "custom_superuser")),
09:14:22