Skip to content

Commit

Permalink
Merge pull request #384 from sleipnir/fix/gun-tests
Browse files Browse the repository at this point in the history
Fix. Gun server tests
  • Loading branch information
sleipnir authored Jul 13, 2024
2 parents 6ff3635 + d18d6ed commit 3addc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/grpc/integration/server_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ defmodule GRPC.Integration.ServerTest do
Jason.encode!(%{"name" => name})
)

assert_receive {:gun_response, ^conn_pid, ^stream_ref, :nofin, 200, _headers}
assert_receive {:gun_up, ^conn_pid, :http}
assert {:ok, body} = :gun.await_body(conn_pid, stream_ref)

assert %{"text" => "get_message"} = Jason.decode!(body)
Expand Down

0 comments on commit 3addc10

Please sign in to comment.