[jboss-jira] [JBoss JIRA] (WFCORE-3989) AuditLogBootingSyslogTest should make assertion on lower and upper bound for queue size
Petr Kremensky (JIRA)
issues at jboss.org
Wed Aug 1 05:05:01 EDT 2018
[ https://issues.jboss.org/browse/WFCORE-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petr Kremensky reopened WFCORE-3989:
------------------------------------
> AuditLogBootingSyslogTest should make assertion on lower and upper bound for queue size
> ---------------------------------------------------------------------------------------
>
> Key: WFCORE-3989
> URL: https://issues.jboss.org/browse/WFCORE-3989
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 6.0.0.Alpha4
> Environment: {noformat}
> Apache Maven 3.5.0 (Red Hat 3.5.0-6)
> Maven home: /usr/share/maven
> Java version: 1.8.0_172
> {noformat}
> Reporter: Vilém Obrátil
> Assignee: Vilém Obrátil
>
> org.jboss.as.test.manualmode.auditlog.AuditLogBootingSyslogTest from deployment-scanner module of wildfly-core fails due to unexpected queue size length.
> The test method waitForExpectedQueueSize expects that there can only be one possible queue size (17), but in practice the queue can be longer, which occasionally causes the test to fail.
> Test javadoc snippet:
> {noformat}
> * The event to add the extensions fits into a single syslog event. The composite operation is chopped to fit into multiple
> * events, at the time of writing it is split across 17 events.
> *
> * Small differences between the expected count and actual count could be caused by configuration changes changing how many
> * events it takes to hold the entire composite operation.
> {noformat}
> The expected queue size was changed from 18 to 17 by https://github.com/wildfly/wildfly-core/pull/3379/files#diff-2308836c2a6787cec1e24b179dc3f567L135
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list