Move Spring deps to SNAPSHOTs; other changes
* Removed overridden `getMethodValue()` in the `CookieTests` which is removed from SF already * Re-enable JDBC tests related to complex named params because of the fix in SF * `--add-opens` for Tomcat warnings * Upgrade to `log4j-slf4j2-impl` * Add `cassandra.yaml` resource with increased timeouts to wait more in busy environment from Cassandra cluster
This commit is contained in:
@@ -28,7 +28,6 @@ import java.util.stream.IntStream;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
@@ -183,10 +182,9 @@ public class JdbcMessageHandlerIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("SF doesn't handle [] in query params any more")
|
||||
public void testIdHeaderDynamicInsert() {
|
||||
JdbcMessageHandler handler = new JdbcMessageHandler(jdbcTemplate,
|
||||
"insert into foos (id, status, name) values (headers[idAsString], 0, :payload)");
|
||||
"insert into foos (id, status, name) values (:headers[idAsString], 0, :payload)");
|
||||
handler.afterPropertiesSet();
|
||||
Message<String> message = new GenericMessage<>("foo");
|
||||
String id = message.getHeaders().getId().toString();
|
||||
@@ -200,7 +198,6 @@ public class JdbcMessageHandlerIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("SF doesn't handle [] in query params any more")
|
||||
public void testDottedHeaderDynamicInsert() {
|
||||
JdbcMessageHandler handler = new JdbcMessageHandler(jdbcTemplate,
|
||||
"insert into foos (id, status, name) values (:headers[business.id], 0, :payload)");
|
||||
|
||||
@@ -25,7 +25,6 @@ import java.util.Map;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
@@ -49,7 +48,6 @@ import org.springframework.messaging.MessageChannel;
|
||||
* @since 2.0
|
||||
*
|
||||
*/
|
||||
@Disabled("SF doesn't handle [] in query params any more")
|
||||
public class JdbcMessageHandlerParserTests {
|
||||
|
||||
private JdbcTemplate jdbcTemplate;
|
||||
@@ -168,4 +166,5 @@ public class JdbcMessageHandlerParserTests {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ import javax.sql.DataSource;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.beans.DirectFieldAccessor;
|
||||
@@ -60,7 +59,6 @@ import org.springframework.messaging.support.GenericMessage;
|
||||
* @since 2.0
|
||||
*
|
||||
*/
|
||||
@Disabled("SF doesn't handle [] in query params any more")
|
||||
public class JdbcOutboundGatewayParserTests {
|
||||
|
||||
private JdbcTemplate jdbcTemplate;
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
create table foos(id varchar(100), status int, name varchar(20));
|
||||
create table bars(id int identity, status int, name varchar(20));
|
||||
create table bars(id int AUTO_INCREMENT, status int, name varchar(20));
|
||||
|
||||
Reference in New Issue
Block a user