From 5975a3410671f5712f8d09cacaa25abefda60b9b Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Tue, 3 May 2016 14:18:14 -0400 Subject: [PATCH] Increase security test receive timeout https://build.spring.io/browse/INT-B41-555/ **Cheery-pick to 4.2.x** --- .../channel/ChannelAdapterSecurityIntegrationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-integration-security/src/test/java/org/springframework/integration/security/channel/ChannelAdapterSecurityIntegrationTests.java b/spring-integration-security/src/test/java/org/springframework/integration/security/channel/ChannelAdapterSecurityIntegrationTests.java index 93b45ae271..5826b41e9c 100644 --- a/spring-integration-security/src/test/java/org/springframework/integration/security/channel/ChannelAdapterSecurityIntegrationTests.java +++ b/spring-integration-security/src/test/java/org/springframework/integration/security/channel/ChannelAdapterSecurityIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 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. @@ -111,7 +111,7 @@ public class ChannelAdapterSecurityIntegrationTests { SecurityContextHolder.clearContext(); this.queueChannel.send(new GenericMessage("test")); - Message errorMessage = this.errorChannel.receive(1000); + Message errorMessage = this.errorChannel.receive(10000); assertNotNull(errorMessage); Object payload = errorMessage.getPayload(); assertThat(payload, instanceOf(MessageHandlingException.class));