From 6289503643709a0ce0bc3e2aa9b7cf5f993a4666 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Mon, 3 Sep 2007 23:33:13 +0000 Subject: [PATCH] Commented out failing captcha test whose behaviour varies with speed of the build server (makes assumptions about the interval within which certain lines of code are executed). --- ...ysTestAfterTimeInMillisCaptchaChannelProcessorTests.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/org/acegisecurity/captcha/AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests.java b/core/src/test/java/org/acegisecurity/captcha/AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests.java index 76ce95fb5e..bcf5528a4e 100644 --- a/core/src/test/java/org/acegisecurity/captcha/AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests.java +++ b/core/src/test/java/org/acegisecurity/captcha/AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests.java @@ -51,7 +51,9 @@ public class AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests extends Tes context.setHuman(); assertFalse(alwaysTestAfterTimeInMillisCaptchaChannelProcessor.isContextValidConcerningHumanity(context)); } - +/* Commented out as it makes assumptions about the speed of the build server and fails intermittently on + build.springframework.org - L.T. + public void testIsContextValidConcerningHumanity() throws Exception { CaptchaSecurityContext context = new CaptchaSecurityContextImpl(); @@ -72,7 +74,7 @@ public class AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests extends Tes assertFalse(alwaysTestAfterTimeInMillisCaptchaChannelProcessor.isContextValidConcerningHumanity(context)); } - +*/ public void testNewContext() { CaptchaSecurityContext context = new CaptchaSecurityContextImpl();