Increase sampling test delta to reduce flakyness

pull/3292/head
Uku Taht 3 years ago
parent ab4eb75109
commit 8c870f7c6b

@ -349,7 +349,7 @@ defmodule Plausible.FunnelsTest do
Plausible.Stats.Query.from(site, %{"period" => "all", "sample_threshold" => "10000"})
{:ok, funnel_data} = Stats.funnel(site, query, funnel.id)
assert_in_delta funnel_data[:all_visitors], 50_000, 1000
assert_in_delta funnel_data[:all_visitors], 50_000, 5000
end
end
end

Loading…
Cancel
Save