]
Ondrej Zizka commented on AS7-2827:
-----------------------------------
PR 1524 Adds a org.jboss.as.test.shared.TimeRatio class to the shared module.
TS: Configurable timeouts
-------------------------
Key: AS7-2827
URL:
https://issues.jboss.org/browse/AS7-2827
Project: Application Server 7
Issue Type: Sub-task
Components: Test Suite
Reporter: Ondrej Zizka
Assignee: Ondrej Zizka
Fix For: 7.1.1.Final
Testsuite run can take different amount of time on various HW (or virtuals).
All timeouts must be configurable, in the sense of being possible to prolong.
We should also divide them into categories, depending on what is expected to take long
(consider slow disks, slow networks, cloud environment)
Few ideas for categories:
* Filesystem I/O
* Processor
* Network I/O
* Memory I/O
* Database operations
For each category, there would be a ratio, 1.0 by default, which would multiply the
timeout.
So the timeout would look like:
{code}
something.setTimeout( 1000 * Timeouts.getFSIORatio() );
{code}
Other possibility is to use @Annotations to mark tests belonging to certain group, like
@LongRunning or such.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: