mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix broken build
This commit is contained in:
parent
f8a5e3d0b7
commit
90498a0b2f
@ -73,7 +73,7 @@ public class SampleDataJpaApplicationTests {
|
||||
@Test
|
||||
public void testJmx() throws Exception {
|
||||
assertThat(ManagementFactory.getPlatformMBeanServer()
|
||||
.queryMBeans(new ObjectName("jpa.sample:type=ConnectionPool,*"), null))
|
||||
.queryMBeans(new ObjectName("jpa.sample:type=HikariDataSource,*"), null))
|
||||
.hasSize(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user