[
https://issues.redhat.com/browse/WFWIP-366?page=com.atlassian.jira.plugin...
]
Martin Choma edited comment on WFWIP-366 at 12/9/20 5:40 AM:
-------------------------------------------------------------
Are you sure these tests ever pass with -Dts.bootable on nightly
runs?
You are right. I was tricked by green ball, but did not checked if test was really run.
Now I did and test is really not run in nightly. Sorry for that false statement. Yesterday
when I was reviewing MR I came to similar conclusion as you did. Thanks for fixing it.
was (Author: mchoma):
Are you sure these tests ever pass with -Dts.bootable on nightly
runs?
You are right. I was tricked by green ball, but did not checked if test was really run.
Now I did and test is really not run in nightly. Sorry for that false statement. Yesterday
when I was reviewing MR I came to similar conclusion as you did.
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}
But mgmt-users.properties is empty no user expected by test "testSuite",
"testSuitePassword"
Same test is passing in WF22 nightly runs.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)