Bug 969346 - @ServerSetup tasks throw RE, this makes other tests fail
Summary: @ServerSetup tasks throw RE, this makes other tests fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: EAP 6.1.1
Assignee: baranowb
QA Contact:
URL:
Whiteboard:
: 967533 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-31 09:27 UTC by baranowb
Modified: 2013-09-16 20:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 20:28:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-1439 0 Minor Closed ServerSetupObserver leaks changes if exception is thrown 2018-02-19 16:31:26 UTC

Description baranowb 2013-05-31 09:27:57 UTC
Possibly.
Description of problem:
If @ServerSetup throws RE, ServerSetupObserver clears setup tasks list, essentially renders testsuite broken. This is because observers removes all tasks, hence, when cleanup happens( Arq events ) ServerSetupObserver does not invoke any setup tasks to cleanup container.

Version-Release number of selected component (if applicable):


How reproducible:
Throw RE from setup task. See other tests fail.

Actual results:
~50 failures

Expected results:
Clean run despinte one failure.

Additional info:

This needs a bit of investigation, as expected fix... does not fix the problem, it makes it even worse.

Comment 1 Rostislav Svoboda 2013-06-07 10:17:00 UTC
QA_ACK granted, AS TS fix.

Comment 5 baranowb 2013-06-21 04:24:54 UTC
*** Bug 967533 has been marked as a duplicate of this bug. ***

Comment 6 Pavel Jelinek 2013-07-15 11:50:55 UTC
Fixed in 6.1.1.ER2


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