Skip to content

Commit 579a722

Browse files
committed
Fix Broken TCP OG Test
Default timeout expression is now a `ValueExpression`.
1 parent 563f526 commit 579a722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/TcpOutboundGatewayTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void testGoodNetSingle() throws Exception {
144144
gateway.setRequiresReply(true);
145145
gateway.setOutputChannel(replyChannel);
146146
// check the default remote timeout
147-
assertEquals("10000", TestUtils.getPropertyValue(gateway, "remoteTimeoutExpression.literalValue"));
147+
assertEquals(10000L, TestUtils.getPropertyValue(gateway, "remoteTimeoutExpression.value"));
148148
gateway.setSendTimeout(123);
149149
gateway.setRemoteTimeout(60000);
150150
gateway.setSendTimeout(61000);

0 commit comments

Comments
 (0)