summaryrefslogtreecommitdiff
path: root/internal/command/receivepack/gitalycall_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/command/receivepack/gitalycall_test.go')
-rw-r--r--internal/command/receivepack/gitalycall_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/command/receivepack/gitalycall_test.go b/internal/command/receivepack/gitalycall_test.go
index d756248..9a1019d 100644
--- a/internal/command/receivepack/gitalycall_test.go
+++ b/internal/command/receivepack/gitalycall_test.go
@@ -19,12 +19,10 @@ import (
)
func TestReceivePack(t *testing.T) {
- gitalyAddress, _, cleanup := testserver.StartGitalyServer(t)
- defer cleanup()
+ gitalyAddress, _ := testserver.StartGitalyServer(t)
requests := requesthandlers.BuildAllowedWithGitalyHandlers(t, gitalyAddress)
- url, cleanup := testserver.StartHttpServer(t, requests)
- defer cleanup()
+ url := testserver.StartHttpServer(t, requests)
testCases := []struct {
username string