From 9b6961ce9b809dc35d58345799c1268ee00aa14d Mon Sep 17 00:00:00 2001 From: Adrian Gruntkowski Date: Wed, 13 Nov 2024 13:49:08 +0100 Subject: [PATCH] Try to make ingest lock timeout tests less flaky (#4628) --- test/plausible/ingestion/event_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plausible/ingestion/event_test.exs b/test/plausible/ingestion/event_test.exs index 88fd25aab..554efbc48 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