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

This commit is contained in:
Adrian Gruntkowski 2024-11-13 13:49:08 +01:00 committed by GitHub
parent 86b3bf4f24
commit 9b6961ce9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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