Browse files

* harikiri.t: Test "<= 5" instead of "== 5" to handle 23 requests.

  • Loading branch information...
1 parent c63f348 commit a551e9353d5164db603b3be3d552c62e6e522caf @audreyt audreyt committed Jun 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/harakiri.t
View
2 t/harakiri.t
@@ -20,7 +20,7 @@ test_psgi
my $res = $cb->(GET "/");
$seen_pid{$res->content}++;
}
- is keys(%seen_pid), 5, 'In non-harakiri mode, pid is reused';
+ cmp_ok(keys(%seen_pid), '<=', 5, 'In non-harakiri mode, pid is reused');
};
test_psgi

0 comments on commit a551e93

Please sign in to comment.