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/commit/tree_entry_test.go')
-rw-r--r--internal/service/commit/tree_entry_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/service/commit/tree_entry_test.go b/internal/service/commit/tree_entry_test.go
index 32a68a970..0ffb9d10a 100644
--- a/internal/service/commit/tree_entry_test.go
+++ b/internal/service/commit/tree_entry_test.go
@@ -21,8 +21,8 @@ type treeEntry struct {
}
func TestSuccessfulTreeEntry(t *testing.T) {
- server, serverSocketPath := startTestServices(t)
- defer server.Stop()
+ stop, serverSocketPath := startTestServices(t)
+ defer stop()
client, conn := newCommitServiceClient(t, serverSocketPath)
defer conn.Close()
@@ -160,8 +160,8 @@ func TestSuccessfulTreeEntry(t *testing.T) {
}
func TestFailedTreeEntryRequestDueToValidationError(t *testing.T) {
- server, serverSocketPath := startTestServices(t)
- defer server.Stop()
+ stop, serverSocketPath := startTestServices(t)
+ defer stop()
client, conn := newCommitServiceClient(t, serverSocketPath)
defer conn.Close()