We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28dda95 commit 31631f0Copy full SHA for 31631f0
typesense/api_call_test.go
@@ -374,6 +374,8 @@ func TestApiCallCanAbortRequest(t *testing.T) {
374
func(_ http.ResponseWriter, r *http.Request) {
375
appendHistory(&requestURLHistory, r)
376
cancel()
377
+ // block until the client closes the connection
378
+ <-r.Context().Done()
379
},
380
381
0 commit comments