diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2021-10-20 11:34:10 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2021-10-20 12:02:09 +0300 |
commit | 1dede51df96e9524b5519e115db5a0e1c719d03b (patch) | |
tree | a1b8f405c57df8ede0b85c14fc71eef4f79ede06 /internal/handler/exec_test.go | |
parent | f9f5423cf8d65c97d42991e218b990e5132fe293 (diff) | |
download | gitlab-shell-id-logging-for-handler.tar.gz |
Add logging to RunGitalyCommand funcid-logging-for-handler
Diffstat (limited to 'internal/handler/exec_test.go')
-rw-r--r-- | internal/handler/exec_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handler/exec_test.go b/internal/handler/exec_test.go index 1d714ef..ba6bd6a 100644 --- a/internal/handler/exec_test.go +++ b/internal/handler/exec_test.go @@ -56,7 +56,7 @@ func TestUnavailableGitalyErr(t *testing.T) { expectedErr := grpcstatus.Error(grpccodes.Unavailable, "error") err := cmd.RunGitalyCommand(context.Background(), makeHandler(t, expectedErr)) - require.EqualError(t, err, "Git service is temporarily unavailable") + require.EqualError(t, err, "The git server, Gitaly, is not available at this time. Please contact your administrator.") } func TestRunGitalyCommandMetadata(t *testing.T) { |