diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2020-07-23 12:09:17 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2020-07-23 12:09:17 +0300 |
commit | 546997eaceaceb4d3bbf49e32afac5f34a59d9ce (patch) | |
tree | 5360541f71500372f0fe8710fa090589c0a7bf16 /internal/praefect/auth_test.go | |
parent | e3bedb3507c01fbe8395dd76589e095d7da14e66 (diff) | |
parent | 3beb442788cf5f8bc1aa74de745d4f5de76e175b (diff) |
Merge branch 'smh-repository-generations' into 'master'
Repository state tracking integration
Closes #2866
See merge request gitlab-org/gitaly!2379
Diffstat (limited to 'internal/praefect/auth_test.go')
-rw-r--r-- | internal/praefect/auth_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/praefect/auth_test.go b/internal/praefect/auth_test.go index 48f786108..92ad0dbbe 100644 --- a/internal/praefect/auth_test.go +++ b/internal/praefect/auth_test.go @@ -176,9 +176,11 @@ func runServer(t *testing.T, token string, required bool) (*grpc.Server, string, registry, err := protoregistry.New(fd) require.NoError(t, err) - coordinator := NewCoordinator(queue, nodeMgr, txMgr, conf, registry) + rs := datastore.NewMemoryRepositoryStore(conf.StorageNames()) - srv := NewGRPCServer(conf, logEntry, registry, coordinator.StreamDirector, nodeMgr, txMgr, queue) + coordinator := NewCoordinator(queue, rs, nodeMgr, txMgr, conf, registry) + + srv := NewGRPCServer(conf, logEntry, registry, coordinator.StreamDirector, nodeMgr, txMgr, queue, rs) serverSocketPath := testhelper.GetTemporaryGitalySocketFileName() |