Permalink
Browse files

fixed a test case that is too easy to fail.

  • Loading branch information...
1 parent e2ed1a1 commit 74f20a4f7792d620350d688c9696018ea7ab248a @agentzh agentzh committed Sep 6, 2012
Showing with 3 additions and 13 deletions.
  1. +3 −13 t/exptime.t
View
@@ -28,15 +28,9 @@ __DATA__
echo_location '/memc?key=foo';
echo;
- echo_blocking_sleep 0.05;
+ echo_blocking_sleep 1.1;
- echo 'get foo - 0.05 sec';
- echo_location '/memc?key=foo';
- echo;
-
- echo_blocking_sleep 1.5;
-
- echo 'get foo - 1.55 sec';
+ echo 'get foo - 1.1 sec';
echo_location '/memc?key=foo';
}
location /memc {
@@ -64,11 +58,7 @@ get foo - 0 sec
status: 200
exptime:
BAR
-get foo - 0\.05 sec
-status: 200
-exptime:
-BAR
-get foo - 1\.55 sec
+get foo - 1\.1 sec
status: 404
exptime:
<html>.*?404 Not Found.*$

0 comments on commit 74f20a4

Please sign in to comment.