Преглед на файлове

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).

Luke Taylor преди 18 години
родител
ревизия
6289503643
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      core/src/test/java/org/acegisecurity/captcha/AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests.java

+ 4 - 2
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();