Martin Choma created WFWIP-366:
----------------------------------
Summary:
MicroProfileMetricsSecuredEndpointTestCase,MicroProfileVendorMetricsBootTestCase failing
in bootable jar run
Key: WFWIP-366
URL:
https://issues.redhat.com/browse/WFWIP-366
Project: WildFly WIP
Issue Type: Bug
Reporter: Martin Choma
Assignee: Kabir Khan
{code}
mvn clean install -B -fae -Dmaven.test.failure.ignore=true -Dts.bootable
-Dtestsuite.ee.galleon.pack.version=22.0.0.Beta1-SNAPSHOT
-Dtestsuite.ee.galleon.pack.artifactId=wildfly-galleon-pack
-Dtestsuite.ee.galleon.pack.groupId=org.wildfly
-Dversion.org.wildfly.jar.plugin=2.0.2.Final
-Dtest=MicroProfileMetricsSecuredEndpointTestCase,MicroProfileVendorMetricsBootTestCase
...
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] MicroProfileMetricsSecuredEndpointTestCase.securedHTTPEndpoint:89
expected:<200> but was:<401>
[ERROR]
MicroProfileVendorMetricsBootTestCase.testVendorMetricsDeployAfterBoot:159->checkResponse:188
connected=true
cleanInit=true
overallResponseCode=401
overallSawVendor=false
scopedResponseCode=401
scopedSawVendor=false
expected:<[200]> but was:<[401]>
[INFO]
[ERROR] Tests run: 3, Failures: 2, Errors: 0, Skipped: 0
{code}
Looking into tested bootable jar It seems strange I still see
security-enabled="false"
{code}
<subsystem xmlns="urn:wildfly:microprofile-metrics-smallrye:2.0"
security-enabled="false" exposed-subsystems="*"
prefix="${wildfly.metrics.prefix:wildfly}"/>
{code}
and mgmt-users.properties is empty no user expected by test "testSuite",
"testSuitePassword"
--
This message was sent by Atlassian Jira
(v7.13.8#713008)