From bf0ef73286ce3d956a970dfa222b56b972014a18 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 11 Nov 2019 10:23:14 +1100 Subject: [PATCH] DEV: correct rake task used to grab admin key We amended it so "api_key:get" is no longer supported and instead we are more explicit. This matches that change and fixes the bench. --- script/bench.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bench.rb b/script/bench.rb index b847db2f3c2..44645f5549b 100644 --- a/script/bench.rb +++ b/script/bench.rb @@ -184,7 +184,7 @@ puts "Populating Profile DB" run("bundle exec ruby script/profile_db_generator.rb") puts "Getting api key" -api_key = `bundle exec rake api_key:get`.split("\n")[-1] +api_key = `bundle exec rake api_key:get_or_create_master[bench]`.split("\n")[-1] def bench(path, name) puts "Running apache bench warmup"