Fix broken build

This commit is contained in:
Stephane Nicoll 2017-06-02 17:58:14 +02:00
parent f8a5e3d0b7
commit 90498a0b2f

View File

@ -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);
}