From 86a4997297b55d76c0bcf8f381e46e7c4faed47b Mon Sep 17 00:00:00 2001 From: misvivek Date: Thu, 5 Dec 2024 13:25:28 +0000 Subject: [PATCH] verify the data in the dat available --- internal/transport/handler_server_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/transport/handler_server_test.go b/internal/transport/handler_server_test.go index 8ac3734fb200..5123c4238e10 100644 --- a/internal/transport/handler_server_test.go +++ b/internal/transport/handler_server_test.go @@ -404,6 +404,7 @@ func (s) TestHandlerTransport_HandleStreams_Timeout(t *testing.T) { }() s.WriteStatus(status.New(codes.DeadlineExceeded, "too slow")) select { + case <-ch: // Signal received, continue with the test case <-s.ctx.Done(): case <-time.After(5 * time.Second): t.Errorf("timeout waiting for ctx.Done")