Skip to content

Commit

Permalink
verify the data in the dat available
Browse files Browse the repository at this point in the history
  • Loading branch information
misvivek committed Dec 5, 2024
1 parent dea8408 commit 86a4997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/transport/handler_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 86a4997

Please sign in to comment.