Stub DNS in the spec suite
This implements stubbing throughout the spec suite for DNS queries, of which there are many. It includes a few tweaks to continue to allow resolution for local addresses. This solves an issue where non-standard DNS setups prevent most of the spec suite from working locally, and should also provide speed improvements to the CI pipeline on average by removing a source of external requests.
显示
- spec/lib/gitlab/tcp_checker_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/tcp_checker_spec.rb
- spec/lib/gitlab/url_blocker_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/url_blocker_spec.rb
- spec/support/dns.rb 20 个添加, 0 个删除spec/support/dns.rb
- spec/support/helpers/dns_helpers.rb 30 个添加, 0 个删除spec/support/helpers/dns_helpers.rb
加载中
想要评论请 注册 或 登录