From d625e72967576a048de93cce9a36c4a9f88e8aca Mon Sep 17 00:00:00 2001 From: Adrian Gruntkowski Date: Thu, 26 Sep 2024 10:40:42 +0200 Subject: [PATCH] Try to make ingest lock timeout tests less flaky --- 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 345fe6884e68..836f476475df 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