Use Praefect instead of Gitaly in testing loop
In the test environment, we go through the trouble of spinning up Gitaly and Praefect, only to bypass Praefect entirely and go directly to the Gitaly socket. This renders the Praefect step useless and causes us to miss errors in proxying. To fix this, we now proxy all calls through Praefect and add a second Gitaly shard. This was discovered in https://gitlab.com/gitlab-org/gitaly/-/issues/3379.
显示
- config/gitlab.yml.example 1 个添加, 1 个删除config/gitlab.yml.example
- lib/gitlab/setup_helper.rb 27 个添加, 18 个删除lib/gitlab/setup_helper.rb
- scripts/gitaly-test-build 2 个添加, 0 个删除scripts/gitaly-test-build
- scripts/gitaly-test-spawn 1 个添加, 0 个删除scripts/gitaly-test-spawn
- scripts/gitaly_test.rb 16 个添加, 1 个删除scripts/gitaly_test.rb
- spec/support/helpers/test_env.rb 6 个添加, 1 个删除spec/support/helpers/test_env.rb
加载中
想要评论请 注册 或 登录