From 8c8391c74254cd1316c91c862ad27dc13c6cabb9 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Sat, 30 May 2020 01:02:51 +0200 Subject: [PATCH] DEV: Don't require wget in script/bench --- script/bench.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bench.rb b/script/bench.rb index 02b96866579..6d9394e52a5 100644 --- a/script/bench.rb +++ b/script/bench.rb @@ -229,7 +229,7 @@ begin 'Api-Username' => "admin1" } # asset precompilation is a dog, wget to force it - run "wget http://127.0.0.1:#{@port}/ -o /dev/null -O /dev/null" + run "curl -s -o /dev/null http://127.0.0.1:#{@port}/" redirect_response = `curl -s -I "http://127.0.0.1:#{@port}/t/i-am-a-topic-used-for-perf-tests"` if redirect_response !~ /301 Moved Permanently/