Clear Sentry and Raven settings after the related tests
When we setup Sentry/Raven, we don't clear their settings. And this causes some flaky tests. In this commit, we are adding the new `clear_sentry_settings` method. Related https://gitlab.com/gitlab-org/gitlab/-/issues/432145
显示
- spec/lib/gitlab/error_tracking_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/error_tracking_spec.rb
- spec/lib/gitlab/http_spec.rb 1 个添加, 2 个删除spec/lib/gitlab/http_spec.rb
- spec/requests/api/helpers_spec.rb 4 个添加, 0 个删除spec/requests/api/helpers_spec.rb
- spec/support/helpers/stub_configuration.rb 6 个添加, 0 个删除spec/support/helpers/stub_configuration.rb
想要评论请 注册 或 登录