From bffc37e38d9fe1335d93ca4bb47a7e18973c13cd Mon Sep 17 00:00:00 2001 From: Gabriel Oliveira Date: Thu, 21 Nov 2024 19:03:06 -0300 Subject: [PATCH] chore: move timeout to tests --- example/test/test_helper.exs | 2 +- test/connection/system_test.exs | 2 +- test/producer/producer_test.exs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/test/test_helper.exs b/example/test/test_helper.exs index 04bc96f..41d345b 100644 --- a/example/test/test_helper.exs +++ b/example/test/test_helper.exs @@ -1,3 +1,3 @@ Klife.Testing.setup(Example.MySimplestClient) -ExUnit.start(timeout: 90_000) +ExUnit.start() diff --git a/test/connection/system_test.exs b/test/connection/system_test.exs index d77d6f0..74af9a8 100644 --- a/test/connection/system_test.exs +++ b/test/connection/system_test.exs @@ -176,7 +176,7 @@ defmodule Klife.Connection.SystemTest do Enum.each(brokers_list_3, &check_broker_connection(client_name_3, &1)) end - @tag cluster_change: true, capture_log: true + @tag cluster_change: true, capture_log: true, timeout: 90_000 test "cluster changes events" do config = [ connection: [ diff --git a/test/producer/producer_test.exs b/test/producer/producer_test.exs index 3b5786c..6b2a249 100644 --- a/test/producer/producer_test.exs +++ b/test/producer/producer_test.exs @@ -233,7 +233,7 @@ defmodule Klife.ProducerTest do assert :snappy = KlifeProtocol.RecordBatch.decode_attributes(attr).compression end - @tag cluster_change: true, capture_log: true + @tag cluster_change: true, capture_log: true, timeout: 90_000 test "is able to recover from client changes" do topic = "test_no_batch_topic"