Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/repository/squash_in_progress_test.go')
-rw-r--r--internal/service/repository/squash_in_progress_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/service/repository/squash_in_progress_test.go b/internal/service/repository/squash_in_progress_test.go
index 9dffb44be..23238fa9b 100644
--- a/internal/service/repository/squash_in_progress_test.go
+++ b/internal/service/repository/squash_in_progress_test.go
@@ -11,8 +11,8 @@ import (
)
func TestSuccessfulIsSquashInProgressRequest(t *testing.T) {
- server, serverSocketPath := runRepoServer(t)
- defer server.Stop()
+ stop, serverSocketPath := runRepoServer(t)
+ defer stop()
client, conn := newRepositoryClient(t, serverSocketPath)
defer conn.Close()
@@ -62,8 +62,8 @@ func TestSuccessfulIsSquashInProgressRequest(t *testing.T) {
}
func TestFailedIsSquashInProgressRequestDueToValidations(t *testing.T) {
- server, serverSocketPath := runRepoServer(t)
- defer server.Stop()
+ stop, serverSocketPath := runRepoServer(t)
+ defer stop()
client, conn := newRepositoryClient(t, serverSocketPath)
defer conn.Close()