Skip to content

Commit f2b068a

Browse files
author
Patrick Bajao
committed
Fix broken Gitaly integration tests
Gitaly started to require `Repository` information for certain commands like upload-pack, upload-archive, and receive-pack. However, gitlab-shell tests are sending `git_object_directory` and `git_alternate_object_directories` that do not exist. To fix the tests, we set those to an existing directory in the created repository.
1 parent 264d63e commit f2b068a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/testhelper/testdata/testroot/responses/allowed_without_console_messages.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"repository": {
1010
"storage_name": "default",
1111
"relative_path": "GITALY_REPOSITORY",
12-
"git_object_directory": "path/to/git_object_directory",
13-
"git_alternate_object_directories": ["path/to/git_alternate_object_directory"],
12+
"git_object_directory": "objects/",
13+
"git_alternate_object_directories": ["objects/"],
1414
"gl_repository": "project-26",
1515
"gl_project_path": "group/private"
1616
},

0 commit comments

Comments
 (0)