[
https://issues.redhat.com/browse/WFWIP-366?page=com.atlassian.jira.plugin...
]
Martin Choma updated WFWIP-366:
-------------------------------
Description:
{code}
cd testsuite/integration/microprofile
mvn test -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
...
[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}
Management interface is secured
{code}
<management-interfaces>
<http-interface
http-authentication-factory="management-http-authentication">
<http-upgrade enabled="true"
sasl-authentication-factory="management-sasl-authentication"/>
<socket-binding http="management-http"/>
</http-interface>
</management-interfaces>
{code}
and mgmt-users.properties is empty no user expected by test "testSuite",
"testSuitePassword"
was:
{code}
cd testsuite/integration/microprofile
mvn test -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
...
[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"
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: Jeff Mesnil
Priority: Major
{code}
cd testsuite/integration/microprofile
mvn test -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
...
[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}
Management interface is secured
{code}
<management-interfaces>
<http-interface
http-authentication-factory="management-http-authentication">
<http-upgrade enabled="true"
sasl-authentication-factory="management-sasl-authentication"/>
<socket-binding http="management-http"/>
</http-interface>
</management-interfaces>
{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)