Skip to content

Commit

Permalink
chore: move timeout to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveigah committed Nov 21, 2024
1 parent 194d661 commit bffc37e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Klife.Testing.setup(Example.MySimplestClient)

ExUnit.start(timeout: 90_000)
ExUnit.start()
2 changes: 1 addition & 1 deletion test/connection/system_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion test/producer/producer_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 237 in test/producer/producer_test.exs

View workflow job for this annotation

GitHub Actions / test (1.15, 25)

test is able to recover from client changes (Klife.ProducerTest)
topic = "test_no_batch_topic"

Expand Down

0 comments on commit bffc37e

Please sign in to comment.