We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e561a25 commit 340c142Copy full SHA for 340c142
internal/http/transport_test.go
@@ -192,7 +192,7 @@ func TestAsyncTransport_SendEnvelope(t *testing.T) {
192
193
t.Run("queue overflow", func(t *testing.T) {
194
blockChan := make(chan struct{})
195
- requestReceived := make(chan struct{})
+ requestReceived := make(chan struct{}, 1)
196
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
197
select {
198
case requestReceived <- struct{}{}:
0 commit comments