Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed a test case that is too easy to fail.

  • Loading branch information...
commit 74f20a4f7792d620350d688c9696018ea7ab248a 1 parent e2ed1a1
Yichun Zhang agentzh authored
Showing with 3 additions and 13 deletions.
  1. +3 −13 t/exptime.t
16 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.*$
Please sign in to comment.
Something went wrong with that request. Please try again.