Fix random fails of the rate limiter tests
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 13 Nov 2019 11:07:53 +0000 (18:07 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 13 Nov 2019 11:07:53 +0000 (18:07 +0700)
test/plugs/rate_limiter_test.exs

index bacd621e18db0924d52416fca01878b501b2a120..49f63c424aa08079479646bdff8ae5b0a7802f2c 100644 (file)
@@ -25,7 +25,7 @@ defmodule Pleroma.Plugs.RateLimiterTest do
 
     test "it restricts based on config values" do
       limiter_name = :test_opts
-      scale = 60
+      scale = 80
       limit = 5
 
       Pleroma.Config.put([:rate_limit, limiter_name], {scale, limit})