Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Try to make ingest lock timeout tests less flaky (#4628)

Adrian Gruntkowski9b6961ce9b80
diff --git a/test/plausible/ingestion/event_test.exs b/test/plausible/ingestion/event_test.exs
index 88fd25aab4..554efbc48d 100644
--- a/test/plausible/ingestion/event_test.exs
+++ b/test/plausible/ingestion/event_test.exs
@@ -312,7 +312,7 @@ defmodule Plausible.Ingestion.EventTest do
)
end)
- Process.sleep(100)
+ Process.sleep(200)
assert {:ok, %{buffered: [], dropped: [dropped]}} = Event.build_and_buffer(second_request)
assert dropped.drop_reason == :lock_timeout