aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMatt Robenolt2014-07-20 00:31:33 -0700
committerMike McQuaid2014-07-20 10:14:45 -0700
commit9871f3a12a746ea1c0e1c3fb5306c143bc272a84 (patch)
tree3d2a00eac3629d754d2e11433aafed81853f3c89 /Library/Formula
parent4b55aa5742d8f9fe1cef1c5b81f1826fcf047072 (diff)
downloadhomebrew-9871f3a12a746ea1c0e1c3fb5306c143bc272a84.tar.bz2
wrk: improve test.
`-d 1` makes `wrk` only run for 1 second, which is the least amount of time. The default is 10 seconds. And we'll hit `example.com` instead of GitHub since example.com fronted by a CDN and whatnot.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wrk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/wrk.rb b/Library/Formula/wrk.rb
index bf24915cc..88a64bb12 100644
--- a/Library/Formula/wrk.rb
+++ b/Library/Formula/wrk.rb
@@ -17,6 +17,6 @@ class Wrk < Formula
end
test do
- system *%W{#{bin}/wrk -c 1 -t 1 https://github.com/}
+ system *%W{#{bin}/wrk -c 1 -t 1 -d 1 http://example.com/}
end
end