[jboss-jira] [JBoss JIRA] (WFLY-9757) Some jsf integration tests fail if -Dnode != localhost
Petr Kremensky (JIRA)
issues at jboss.org
Tue Feb 13 00:35:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-9757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532074#comment-13532074 ]
Petr Kremensky commented on WFLY-9757:
--------------------------------------
[~fjuma] It fails always for me. I'll sent you an mail with exact steps I've made, hopefully this helps you to reproduce as well.
My local environment:
{noformat}
$ cat /etc/redhat-release
Fedora release 27 (Twenty Seven)
$ mvn -version
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
Maven home: /usr/lib/maven
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: /usr/lib/java/jdk1.8.0_151/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.14.16-300.fc27.x86_64", arch: "amd64", family: "unix"
{noformat}
but I can see the failure also on our RHEL servers in lab.
> Some jsf integration tests fail if -Dnode != localhost
> ------------------------------------------------------
>
> Key: WFLY-9757
> URL: https://issues.jboss.org/browse/WFLY-9757
> Project: WildFly
> Issue Type: Bug
> Components: JSF, Test Suite
> Reporter: Petr Kremensky
> Assignee: Farah Juma
> Attachments: org.jboss.as.test.integration.jsf.doctype.DoctypeDeclTestCase-output.txt
>
>
> Running the tests keeping a node0 to localhost works fine:
> {noformat}
> [pkremens at localhost testsuite] (master)$ mvn test -Dts.basic -Dts.noSmoke -Dtest=DoctypeDeclTestCase,DuplicateIDIntegrationTestCase,InjectionToPhaseListenerTest
> ...
> Running org.jboss.as.test.integration.jsf.doctype.DoctypeDeclTestCase
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.809 sec - in org.jboss.as.test.integration.jsf.doctype.DoctypeDeclTestCase
> Running org.jboss.as.test.integration.jsf.duplicateid.DuplicateIDIntegrationTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.645 sec - in org.jboss.as.test.integration.jsf.duplicateid.DuplicateIDIntegrationTestCase
> Running org.jboss.as.test.integration.jsf.phaseListener.injectionTarget.InjectionToPhaseListenerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec - in org.jboss.as.test.integration.jsf.phaseListener.injectionTarget.InjectionToPhaseListenerTest
> {noformat}
> But once node0 is set, the tests start to fail.
> {noformat}
> [pkremens at localhost testsuite] (master)$ mvn test -Dts.basic -Dts.noSmoke -Dtest=DoctypeDeclTestCase,DuplicateIDIntegrationTestCase,InjectionToPhaseListenerTest -Dnode0=<IP>
> ...
> Failed tests:
> DoctypeDeclTestCase.testDoctypeDeclDisallowed:93
> DuplicateIDIntegrationTestCase.testDuplicateIDIsNotGenerated:107 expected:<200> but was:<500>
> Tests in error:
> InjectionToPhaseListenerTest.test:61 » IO java.util.concurrent.ExecutionExcept...
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list