Aurélien Pupier created CAMEL-23557:
---------------------------------------
Summary: Upgrade to Apache Shiro 2.22+
Key: CAMEL-23557
URL: https://issues.apache.org/jira/browse/CAMEL-23557
Project: Camel
Issue Type: Dependency upgrade
Components: camel-shiro
Affects Versions: 4.20.0
Reporter: Aurélien Pupier
oen test is failing:
https://github.com/apache/camel/pull/23290
{noformat}
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.07 s
<<< FAILURE! -- in
org.apache.camel.component.shiro.security.ShiroAuthenticationReauthenticateFalseAndNewUserTest
[ERROR]
org.apache.camel.component.shiro.security.ShiroAuthenticationReauthenticateFalseAndNewUserTest.testSuccessfulShiroAuthenticationWithNoAuthorization
-- Time elapsed: 10.07 s <<< FAILURE!
java.lang.AssertionError: mock://success Received message count. Expected: <2>
but was: <1>
at
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2075)
at
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2010)
at
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:498)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:476)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:466)
at
org.apache.camel.component.shiro.security.ShiroAuthenticationReauthenticateFalseAndNewUserTest.testSuccessfulShiroAuthenticationWithNoAuthorization(ShiroAuthenticationReauthenticateFalseAndNewUserTest.java:60)
{noformat}
potentially a bug in Apache Shiro:
https://github.com/apache/shiro/issues/2704
--
This message was sent by Atlassian Jira
(v8.20.10#820010)