Re-enable DLBFTests.prototypeCreationWithConstructorArgumentsIsFastEnough()

This commit is contained in:
Sam Brannen 2019-09-17 13:24:53 +02:00
parent a93f3ddfe4
commit 9517372e5f
1 changed files with 0 additions and 2 deletions

View File

@ -2358,7 +2358,6 @@ class DefaultListableBeanFactoryTests {
}
@Test
@Disabled // TODO re-enable when ConstructorResolver TODO sorted out
@EnabledForTestGroups(TestGroup.PERFORMANCE)
void prototypeCreationWithConstructorArgumentsIsFastEnough() {
Assume.notLogging(factoryLog);
@ -2376,7 +2375,6 @@ class DefaultListableBeanFactoryTests {
assertThat(tb.getAge()).isEqualTo(99);
}
sw.stop();
// System.out.println(sw.getTotalTimeMillis());
assertThat(sw.getTotalTimeMillis() < 3000).as("Prototype creation took too long: " + sw.getTotalTimeMillis()).isTrue();
}