From 8189f99d1e56c6b95acce1ec97458a0b41ec5710 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Mon, 19 Jul 2010 14:31:15 +0000 Subject: [PATCH] increased latch await timeout in test --- .../integration/channel/QueueChannelTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-integration-core/src/test/java/org/springframework/integration/channel/QueueChannelTests.java b/spring-integration-core/src/test/java/org/springframework/integration/channel/QueueChannelTests.java index 69a6dfa596..2ec3776ca1 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/channel/QueueChannelTests.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/channel/QueueChannelTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2010 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. @@ -57,7 +57,7 @@ public class QueueChannelTests { }).start(); assertFalse(messageReceived.get()); channel.send(new GenericMessage("testing")); - latch.await(25, TimeUnit.MILLISECONDS); + latch.await(1000, TimeUnit.MILLISECONDS); assertTrue(messageReceived.get()); }