Add praefect as a socket for tests
Praefect functions as a proxy, but there are a few RPCs that are only in praefect and do not get proxied to gitaly. To test functionality that hits these RPCs, we need a way to hit a praefect instance that talks to a gitaly instance. This MR sets up praefect in front of the existing gitaly that is used in tests.
显示
- lib/gitlab/setup_helper.rb 89 个添加, 54 个删除lib/gitlab/setup_helper.rb
- lib/tasks/gitlab/gitaly.rake 1 个添加, 1 个删除lib/tasks/gitlab/gitaly.rake
- scripts/gitaly-test-build 5 个添加, 2 个删除scripts/gitaly-test-build
- scripts/gitaly-test-spawn 2 个添加, 3 个删除scripts/gitaly-test-spawn
- scripts/gitaly_test.rb 26 个添加, 11 个删除scripts/gitaly_test.rb
- spec/support/helpers/test_env.rb 31 个添加, 22 个删除spec/support/helpers/test_env.rb
- spec/support/praefect.rb 11 个添加, 0 个删除spec/support/praefect.rb
加载中
想要评论请 注册 或 登录