Skip to content

Commit

Permalink
Increase sampling test delta to reduce flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
ukutaht committed Aug 22, 2023
1 parent ab4eb75 commit 8c870f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plausible/funnels_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c870f7

Please sign in to comment.