[jboss-jira] [JBoss JIRA] (WFLY-12108) Add a better timeout for the ConsoleAccessLogTestCase

Ingo Weiss (Jira) issues at jboss.org
Thu May 30 11:57:00 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-12108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ingo Weiss updated WFLY-12108:
------------------------------
    Git Pull Request: https://github.com/wildfly/wildfly/pull/12309  (was: https://issues.jboss.org/browse/WFLY-12108)


> Add a better timeout for the ConsoleAccessLogTestCase
> -----------------------------------------------------
>
>                 Key: WFLY-12108
>                 URL: https://issues.jboss.org/browse/WFLY-12108
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: James Perkins
>            Assignee: James Perkins
>            Priority: Major
>             Fix For: 17.0.0.Beta1
>
>
> The {{ConsoleAccessLogTestCase}} had a potential for race conditions only waiting 1 second for messages to be logged. The test has now failed twice and CI which indicates that is not a long enough timeout. The test should be updated with a better timeout routine.
> Due to this the {{testPredicate()}} should be removed. It always ran the risk of getting a false positive due to the possible race between when the log is written vs when it is read. Since the timeout will be increased I see no reason to leave this test. If there are concerns with the predicate not working a test should be written in Undertow and likely already exists.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list