Skip to content

Commit

Permalink
Misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dantswain committed Dec 10, 2017
1 parent 9b44a37 commit ceb6917
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/kafka_ex/server.ex
Expand Up @@ -474,7 +474,7 @@ defmodule KafkaEx.Server do
request.topic,
request.partition
)

case broker do
nil ->
Logger.error(fn ->
Expand All @@ -485,16 +485,16 @@ defmodule KafkaEx.Server do
wire_request = request
|> client_request(updated_state)
|> module.create_request

response = broker
|> NetworkClient.send_sync_request(
wire_request,
config_sync_timeout()
)
|> module.parse_response

state_out = State.increment_correlation_id(updated_state)

{response, state_out}
end
end
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci_tests.sh
Expand Up @@ -25,5 +25,5 @@ then
echo "First tests passed, skipping repeat"
else
echo "Repeating tests"
mix "$TEST_COMMAND" --include integration --include consumer_group --include server_0_p_9_p_0
mix "$TEST_COMMAND" --include integration --include consumer_group --include server_0_p_9_p_0 --include server_0_p_8_p_0
fi
2 changes: 1 addition & 1 deletion test/integration/server0_p_8_p_0_test.exs
@@ -1,4 +1,4 @@
defmodule KafkaEx.Server0P9P0.Test do
defmodule KafkaEx.Server0P8P0.Test do
use ExUnit.Case
import TestHelper

Expand Down

0 comments on commit ceb6917

Please sign in to comment.