Bug 366619 - Test failures in DecoratorsTestSuite on 4.x
Summary: Test failures in DecoratorsTestSuite on 4.x
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.2 M5   Edit
Assignee: Oleg Besedin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 366451 381873
  Show dependency tree
 
Reported: 2011-12-13 15:26 EST by Oleg Besedin CLA
Modified: 2012-06-06 11:11 EDT (History)
2 users (show)

See Also:


Attachments
Failure logs (7.99 KB, text/plain)
2011-12-13 15:26 EST, Oleg Besedin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2011-12-13 15:26:38 EST
Created attachment 208337 [details]
Failure logs

The ExceptionDecoratorTestCase tests fail (testEnableDecorator() and testDisableDecorator()) on teardown with the following error message:

Enabled Bug 41545 Heavy Image
Comment 1 Oleg Besedin CLA 2011-12-14 11:53:53 EST
(In reply to comment #0)
> The ExceptionDecoratorTestCase tests fail (testEnableDecorator() and
> testDisableDecorator()) on teardown with the following error message:

The code is fine, the problem is with the test. It tries to join decorator scheduler job to make sure that test conditions are processed, but we have now (both 4.x and 3.x) multiple scheduler jobs. As a result we might wait for a correct job to finish, for some other job to finish, or not wait at all.
Comment 2 Oleg Besedin CLA 2011-12-14 14:41:59 EST
I did a small change in the ExceptionDecoratorTestCase that should help. If the problem re-surfaces, I'd just disable the test as it depends on the scheduler decorator timing and refresh of the package explorer.
Comment 3 Oleg Besedin CLA 2012-01-31 10:42:07 EST
Verified that tests passed in S-3.8M5-201201251800.