Skip to content

Commit 7c9c426

Browse files
committed
Remove data race in TestReverseProxy_ServeHTTPConcurrent/config_reloading
1 parent ca0fc6f commit 7c9c426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func TestReverseProxy_ServeHTTPConcurrent(t *testing.T) {
484484
})
485485
t.Run("parallel requests with config reloading", func(t *testing.T) {
486486
f := func() {
487-
go proxy.applyConfig(newConfig())
487+
proxy.applyConfig(newConfig())
488488
req := httptest.NewRequest("GET", fmt.Sprintf("%s/fast", fakeServer.URL), nil)
489489
makeCustomRequest(proxy, req)
490490
}

0 commit comments

Comments
 (0)