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:
authorJacob Vosmaer <jacob@gitlab.com>2021-10-06 19:28:00 +0300
committerJacob Vosmaer <jacob@gitlab.com>2021-10-06 20:27:46 +0300
commit9afed4db259197170992383d7710445dfca4f098 (patch)
treef3f52be532668de0fd1ea098d305c60bd8d29670 /internal/praefect/info_service_test.go
parent5027043f38fc5eac159135647e6d4fb03495cbb4 (diff)
Praefect: proxy sidechannels
This commit adds backchannel support to the main gRPC listener of Praefect. And if clients make gRPC calls with sidechannels, Praefect will now proxy these to the Gitaly backend. Changelog: added
Diffstat (limited to 'internal/praefect/info_service_test.go')
-rw-r--r--internal/praefect/info_service_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/info_service_test.go b/internal/praefect/info_service_test.go
index e289040ad..7d1710ffd 100644
--- a/internal/praefect/info_service_test.go
+++ b/internal/praefect/info_service_test.go
@@ -60,7 +60,7 @@ func TestInfoService_RepositoryReplicas(t *testing.T) {
ctx, cancel := testhelper.Context()
defer cancel()
- nodeManager, err := nodes.NewManager(testhelper.DiscardTestEntry(t), conf, nil, nil, promtest.NewMockHistogramVec(), protoregistry.GitalyProtoPreregistered, nil, nil)
+ nodeManager, err := nodes.NewManager(testhelper.DiscardTestEntry(t), conf, nil, nil, promtest.NewMockHistogramVec(), protoregistry.GitalyProtoPreregistered, nil, nil, nil)
require.NoError(t, err)
nodeManager.Start(0, time.Hour)
cc, _, cleanup := runPraefectServer(t, ctx, conf, buildOptions{