]
Martin Choma updated WFCORE-4217:
---------------------------------
Steps to Reproduce:
{code}
cd testsuite/standalone/
mvn test -Delytron -Dtest=ManagementAuthenticationUsersTestCase
{code}
was:
cd testsuite/standalone/
mvn test -Delytron -Dtest=ManagementAuthenticationUsersTestCase
ManagementAuthenticationUsersTestCase fails with Elytron profile
----------------------------------------------------------------
Key: WFCORE-4217
URL:
https://issues.redhat.com/browse/WFCORE-4217
Project: WildFly Core
Issue Type: Bug
Components: Security, Test Suite
Affects Versions: 7.0.0.Alpha5
Reporter: Martin Choma
Priority: Major
{noformat}
cd testsuite/standalone/
mvn test -Delytron -Dtest=ManagementAuthenticationUsersTestCase
{noformat}
{noformat}
[INFO] Running null
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 s
<<< FAILURE! - in null
[ERROR] Failure when constructing test Time elapsed: 0.003 s <<< FAILURE!
java.lang.AssertionError:
WFLYCTL0216: Management resource '[
("core-service" => "management"),
("security-realm" => "ManagementRealm")
]' not found
at org.junit.Assert.fail(Assert.java:88)
at
org.jboss.as.test.integration.credential.store.ManagementAuthenticationUsersServerSetupTask.executeForSuccess(ManagementAuthenticationUsersServerSetupTask.java:113)
at
org.jboss.as.test.integration.credential.store.ManagementAuthenticationUsersServerSetupTask.setup(ManagementAuthenticationUsersServerSetupTask.java:65)
at
org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121)
at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] WFLYCTL0216: Management resource '[
("core-service" => "management"),
("security-realm" => "ManagementRealm")
]' not found
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
{noformat}