From d18d6edb69d421aaa4dfa8468117a289ea670d6c Mon Sep 17 00:00:00 2001 From: Adriano Santos Date: Sat, 13 Jul 2024 12:22:41 -0300 Subject: [PATCH] Fix. Gun server tests --- test/grpc/integration/server_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/grpc/integration/server_test.exs b/test/grpc/integration/server_test.exs index d8041179..d4d3727e 100644 --- a/test/grpc/integration/server_test.exs +++ b/test/grpc/integration/server_test.exs @@ -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)