Bug 1249629 - [QA](6.4.z) PersistentIntervalTimerManagementTestCase fails on slower machine
Summary: [QA](6.4.z) PersistentIntervalTimerManagementTestCase fails on slower machine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.4.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: EAP 6.4.13
Assignee: Petr Kremensky
QA Contact: Peter Mackay
URL:
Whiteboard:
Depends On:
Blocks: eap6413-payload
TreeView+ depends on / blocked
 
Reported: 2015-08-03 12:52 UTC by Marek Kopecky
Modified: 2017-02-03 16:43 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-03 16:43:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Kopecky 2015-08-03 12:52:22 UTC
Description of problem:
org.jboss.as.test.integration.ejb.timerservice.mgmt.PersistentIntervalTimerManagementTestCase#testSuspendAndTrigger fails 
occasionally with "Timer should fire twice! expected:<2> but was:<3>"

Version-Release number of selected component (if applicable):
6.4.3.CP.CR1

How reproducible:
10%, with higher CPU load or slower machine

Steps to Reproduce:
1. ./integration-tests.sh -Dts.noSmoke -Dts.basic -Dtest=PersistentIntervalTimerManagementTestCase

Actual results:
Timer should fire twice! expected:<2> but was:<3>
java.lang.AssertionError: Timer should fire twice! expected:<2> but was:<3>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.jboss.as.test.integration.ejb.timerservice.mgmt.AbstractTimerManagementTestCase.testSuspendAndTrigger(AbstractTimerManagementTestCase.java:149)
	at org.jboss.as.test.integration.ejb.timerservice.mgmt.PersistentIntervalTimerManagementTestCase.testSuspendAndTrigger(PersistentIntervalTimerManagementTestCase.java:73)

Expected results:
No failures in test case.

Comment 4 Petr Kremensky 2015-11-25 08:24:21 UTC
Another case where this could fail, I'll create a new PR addressing this as well.

java.lang.AssertionError: Timer should fire once! expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.jboss.as.test.integration.ejb.timerservice.mgmt.AbstractTimerManagementTestCase.testSuspendAndTrigger(AbstractTimerManagementTestCase.java:146)
	at org.jboss.as.test.integration.ejb.timerservice.mgmt.PersistentCalendarTimerManagementTestCase.testSuspendAndTrigger(PersistentCalendarTimerManagementTestCase.java:73)

Comment 6 Mike McCune 2016-03-28 23:19:36 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 14 Peter Mackay 2017-01-17 08:14:13 UTC
Verified with EAP 6.4.13.CP.CR2

Comment 15 Petr Penicka 2017-02-03 16:43:39 UTC
Released with EAP 6.4.13 on Feb 02 2017.


Note You need to log in before you can comment on or make changes to this bug.