Skip to content

Commit

Permalink
Ensure TestParititioner to make consumer_group_implementation_test mo…
Browse files Browse the repository at this point in the history
…re reliable
  • Loading branch information
markusfeyh committed Aug 12, 2020
1 parent 7461e45 commit 2ae170d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/consumer_group_implementation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ defmodule KafkaEx.ConsumerGroupImplementationTest do

setup do
ports_before = num_open_ports()
{:ok, _} = TestPartitioner.start_link()
{:ok, test_partitioner_pid} = TestPartitioner.start_link()

{:ok, consumer_group_pid1} =
ConsumerGroup.start_link(
Expand Down Expand Up @@ -163,6 +163,7 @@ defmodule KafkaEx.ConsumerGroupImplementationTest do
on_exit(fn ->
sync_stop(consumer_group_pid1)
sync_stop(consumer_group_pid2)
sync_stop(test_partitioner_pid)
end)

{
Expand Down

0 comments on commit 2ae170d

Please sign in to comment.