diff --git a/pom.xml b/pom.xml index de532bdc..e3ecf001 100755 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.springframework.cloud spring-cloud-build - 2.1.4.BUILD-SNAPSHOT + 2.2.0.BUILD-SNAPSHOT diff --git a/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java b/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java index 0325276a..47d42745 100644 --- a/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java +++ b/spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleTaskAutoConfigurationTests.java @@ -128,10 +128,10 @@ public class SimpleTaskAutoConfigurationTests { verifyExceptionThrownDefaultExecutable(ApplicationContextException.class, "Failed to start " + "bean 'taskLifecycleListener'; nested exception is " + "org.springframework.dao.DataAccessResourceFailureException: " - + "Could not obtain sequence value; nested exception is org.h2.jdbc.JdbcSQLException: " + + "Could not obtain sequence value; nested exception is org.h2.jdbc.JdbcSQLSyntaxErrorException: " + "Syntax error in SQL statement \"SELECT FOOBARLESSSEQ.NEXTVAL FROM[*] DUAL \"; " + "expected \"identifier\"; SQL statement:\n" - + "select foobarlessSEQ.nextval from dual [42001-197]", + + "select foobarlessSEQ.nextval from dual [42001-198]", applicationContextRunner); } diff --git a/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/executionid/TaskStartTests.java b/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/executionid/TaskStartTests.java index bd7850ec..f509fa23 100644 --- a/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/executionid/TaskStartTests.java +++ b/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/executionid/TaskStartTests.java @@ -303,8 +303,9 @@ public class TaskStartTests { Server server = null; try { if (defaultServer == null) { - server = Server.createTcpServer("-tcp", "-tcpAllowOthers", "-tcpPort", - String.valueOf(randomPort)).start(); + server = Server.createTcpServer("-ifNotExists", "-tcp", + "-tcpAllowOthers", "-tcpPort", String.valueOf(randomPort)) + .start(); defaultServer = server; } } diff --git a/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/launcher/TaskLauncherSinkTests.java b/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/launcher/TaskLauncherSinkTests.java index 73aafea5..f460e20a 100644 --- a/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/launcher/TaskLauncherSinkTests.java +++ b/spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/launcher/TaskLauncherSinkTests.java @@ -204,8 +204,8 @@ public class TaskLauncherSinkTests { public Server initH2TCPServer() { Server server; try { - server = Server.createTcpServer("-tcp", "-tcpAllowOthers", "-tcpPort", - String.valueOf(randomPort)).start(); + server = Server.createTcpServer("-ifNotExists", "-tcp", "-tcpAllowOthers", + "-tcpPort", String.valueOf(randomPort)).start(); } catch (SQLException e) { throw new IllegalStateException(e);