Filter @Configuration classes out of LTW test
Moving @EnableMBeanExport and its MBeanExportConfiguration @Configuration class into context.annotation caused a side effect with ComponentScanningWithLTWTests, which component scans context.annotation in order to test LTW behavior. Picking up MBeanExportConfiguration without proper MBean configuration resulted in a NullPointerException during test execution. This commit simply filters out all @Configuration classes from the LTW test's component-scanning directive. Issue: SPR-8943master
parent
5d4d1eaca4
commit
0bd4dab4e3
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue