INT-3683: Fix typo in schema.sql.vpp
JIRA: https://jira.spring.io/browse/INT-3683 * In addition fix `inputs` for the Gradle `generateSql` task and regenerate all SQLs to apply the typo fix. The previous way to generate sql scripts doesn't work properly. It is always as `UP-TO-DATE`. Adding `inputs` to the `generateSql` show the correct behaviour. From other side that makes `cleanSql` task as redundant. * Applying the Travis config fix to this commit as well. Fix HTTP test timeout https://build.spring.io/browse/INT-B41-346 Fix `ProducerAndConsumerAutoStartupTests` https://build.spring.io/browse/INT-B41-346 Fix `DelayerUsageTests` `time` bean scope bug https://build.spring.io/browse/INT-B41-347 Fix `HttpInboundGatewayParserTests.java` generics Java < 8 compiler warnings Increase Tomcat response timeout for WebSocket tests https://build.spring.io/browse/INT-B41-349 Increase timeout in the `AsyncMessagingTemplateTests#executionException()` Fix `ClassCastException` for the `StandardWebSocketClient#userProperties` Increase Delay to 2 Seconds in DelayHandlerTests
This commit is contained in:
committed by
Gary Russell
parent
b69c0c2d24
commit
178c86faa4
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014 the original author or authors.
|
||||
* Copyright 2014-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,10 +26,13 @@ import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.apache.tomcat.websocket.WsWebSocketContainer;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
@@ -61,8 +64,14 @@ public class ClientWebSocketContainerTests {
|
||||
|
||||
@Test
|
||||
public void testClientWebSocketContainer() throws Exception {
|
||||
StandardWebSocketClient webSocketClient = new StandardWebSocketClient();
|
||||
Map<String, Object> userProperties = new HashMap<String, Object>();
|
||||
userProperties.put(WsWebSocketContainer.IO_TIMEOUT_MS_PROPERTY,
|
||||
"" + (WsWebSocketContainer.IO_TIMEOUT_MS_DEFAULT * 6));
|
||||
webSocketClient.setUserProperties(userProperties);
|
||||
|
||||
ClientWebSocketContainer container =
|
||||
new ClientWebSocketContainer(new StandardWebSocketClient(), server.getWsBaseUrl() + "/ws/websocket");
|
||||
new ClientWebSocketContainer(webSocketClient, server.getWsBaseUrl() + "/ws/websocket");
|
||||
|
||||
TestWebSocketListener messageListener = new TestWebSocketListener();
|
||||
container.setMessageListener(messageListener);
|
||||
|
||||
Reference in New Issue
Block a user