@Timed seems not to measure total time when used with @Repeat [SPR-6011] #10680
Given the following component:
the following test fails as expected:
whereas this test passed even though it takes more than a second to do so:
which indicates that
Affects: 3.0 M3, 3.0 M4
The text was updated successfully, but these errors were encountered:
Sam Brannen commented
Good catch, Nils!
We unfortunately did not have any tests in Spring's test suite that covered that exact usage, but I've just remedied that. ;)
In summary, SpringJUnit4ClassRunner once again supports collective timeouts for repeated tests.
Please give this a try with one of the upcoming nightly snapshots or Spring 3.0.0.RC1