mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 08:13:25 +00:00
Migrate to Go modules
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
2e2250afe8
commit
7ce266adc0
@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func Test_logsProxyDoesNotLeakGoroutinesWhenProviderClosesConnection(t *testing.T) {
|
||||
defer goleak.VerifyNoLeaks(t)
|
||||
defer goleak.VerifyNone(t)
|
||||
|
||||
expectedMsg := "name: funcFoo msg: test message"
|
||||
|
||||
@ -63,7 +63,7 @@ func Test_logsProxyDoesNotLeakGoroutinesWhenProviderClosesConnection(t *testing.
|
||||
}
|
||||
|
||||
func Test_logsProxyDoesNotLeakGoroutinesWhenClientClosesConnection(t *testing.T) {
|
||||
defer goleak.VerifyNoLeaks(t)
|
||||
defer goleak.VerifyNone(t)
|
||||
|
||||
// mock log provider that sends one line and holds until we cancel the context
|
||||
mockLogsUpstreamEndpoint := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
Reference in New Issue
Block a user