DurationTestDecorator doesn't work in conjunction with the ScaledTestDecorator
------------------------------------------------------------------------------
Key: QPID-909
URL: https://issues.apache.org/jira/browse/QPID-909
Project: Qpid
Issue Type: Bug
Components: Java Tests
Affects Versions: M2.1
Reporter: Martin Ritchie
Summary:
Changes to the DurationTestDecorator to use a timer to interupt a running test
work fine when only a single test is being run.
When the test is wrapped with a ScaledTestDecorator then the new mechanism
causes run 2-N to fail.
This is because the new timer sets shutdown on the DurationTestDecorator and
closes the testresult.
These values are not rest on subsequent runs so the next run doesn't actually
get performed due to the shutdown var being set. Also if the test were to run
the testresult would interupt the run as the testresult has also been marked
shutdown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.