@@ -200,70 +200,69 @@ public class ServiceRepoServiceTest {
assertThat(idExists).isTrue();
}
// When @AutoConfigureTestDatabase is commented out, the following test throws:
// org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection [HikariPool-1 - Connection is not available, request timed out after 30000ms.]
// When @AutoConfigureTestDatabase is commented out, the following test throws:
// org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection [HikariPool-1 - Connection is not available, request timed out after 30000ms.]
if(n.getText().contains("State Changed with status:")&&n.getAuthor().equals("SIM638-API")){
expectedNoteExists=true;
break;
}
}
assertThat(expectedNoteExists).isTrue();
}
// org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection [HikariPool-1 - Connection is not available, request timed out after 30000ms.]