Skip to content

Commit ba751a2

Browse files
committed
Remove UI login request limit for cypress
1 parent 2d31782 commit ba751a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace :spec do
8989
# Set the rate limit to a large number to avoid 429: Too Many Requests errors
9090
# which can occur as cypress very quickly hits a lots of endpoints.
9191
puts "\n== Removing rate limit =="
92-
exit $?.exitstatus unless system("bundle exec rails runner 'MiqServer.my_server.add_settings_for_resource(:server => {:rate_limiting => {:request => {:limit => 99999}}})'")
92+
exit $?.exitstatus unless system("bundle exec rails runner 'MiqServer.my_server.add_settings_for_resource(:server => {:rate_limiting => {:request => {:limit => 99999}, :ui_login => {:limit => 99999}}})'")
9393

9494
puts "\n== Starting Rails server =="
9595
rails_pid = Bundler.with_original_env do

0 commit comments

Comments
 (0)