Re-enable DLBFTests.prototypeCreationWithConstructorArgumentsIsFastEnough()
This commit is contained in:
parent
a93f3ddfe4
commit
9517372e5f
|
|
@ -2358,7 +2358,6 @@ class DefaultListableBeanFactoryTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Disabled // TODO re-enable when ConstructorResolver TODO sorted out
|
|
||||||
@EnabledForTestGroups(TestGroup.PERFORMANCE)
|
@EnabledForTestGroups(TestGroup.PERFORMANCE)
|
||||||
void prototypeCreationWithConstructorArgumentsIsFastEnough() {
|
void prototypeCreationWithConstructorArgumentsIsFastEnough() {
|
||||||
Assume.notLogging(factoryLog);
|
Assume.notLogging(factoryLog);
|
||||||
|
|
@ -2376,7 +2375,6 @@ class DefaultListableBeanFactoryTests {
|
||||||
assertThat(tb.getAge()).isEqualTo(99);
|
assertThat(tb.getAge()).isEqualTo(99);
|
||||||
}
|
}
|
||||||
sw.stop();
|
sw.stop();
|
||||||
// System.out.println(sw.getTotalTimeMillis());
|
|
||||||
assertThat(sw.getTotalTimeMillis() < 3000).as("Prototype creation took too long: " + sw.getTotalTimeMillis()).isTrue();
|
assertThat(sw.getTotalTimeMillis() < 3000).as("Prototype creation took too long: " + sw.getTotalTimeMillis()).isTrue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue