Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Increase flaky test timeout (#2330)
Vinicius Brasilc26e029d22cb
diff --git a/test/support/test_utils.ex b/test/support/test_utils.exindex d2977f61df..ebd49752a9 100644--- a/test/support/test_utils.ex+++ b/test/support/test_utils.ex@@ -145,13 +145,13 @@ defmodule Plausible.TestUtils doenddef eventually(expectation, wait_time_ms \\ 50, retries \\ 10) do- Enum.reduce_while(1..retries, nil, fn _i, _acc ->+ Enum.reduce_while(1..retries, nil, fn attempt, _acc ->case expectation.() do{true, result} ->{:halt, result}{false, _} ->- Process.sleep(wait_time_ms)+ Process.sleep(wait_time_ms * attempt){:cont, nil}endend)