diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-11-23 14:08:53 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-11-26 10:14:26 +0300 |
commit | b0384d3a72e3a943d770a0995a300044d41e8ddd (patch) | |
tree | 4361b861b2b74404fce6f68e5ddaeebe2f92c6f9 /internal/praefect/replicator_test.go | |
parent | 1c51e6a16b949ceaf6bb1085374a00b94e387d60 (diff) |
praefect: Configure hooks binary
Praefect uses a complete Gitaly server setup, which will make use of Git
hooks as soon as we start to globally enable the reference-transaction
hook for most of our Git commands. Currently, this would fail Praefect
tests though as we're not configuring the gitaly-hooks binary as a part
of our test setup.
Fix the issue by calling `testhelper.ConfigureGitalyHooksBinary()`.
Diffstat (limited to 'internal/praefect/replicator_test.go')
-rw-r--r-- | internal/praefect/replicator_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/praefect/replicator_test.go b/internal/praefect/replicator_test.go index c87eec643..c2fea9f0a 100644 --- a/internal/praefect/replicator_test.go +++ b/internal/praefect/replicator_test.go @@ -68,6 +68,7 @@ func testMain(m *testing.M) int { } testhelper.ConfigureGitalySSH() + testhelper.ConfigureGitalyHooksBinary() if err := RubyServer.Start(); err != nil { logrus.Error(err) |