-
由 Stan Hu 创作于
Previously the second test would fail if you did this: ``` bundle exec rspec spec/lib/gitlab/redis/queues_spec.rb \ spec/lib/gitlab/sidekiq_queue_spec.rb ``` This happens because the `@instances` class variable is memoized by the first spec with some temporary settings. Clear this out to ensure this doesn't pollute the global state.
由 Stan Hu 创作于Previously the second test would fail if you did this: ``` bundle exec rspec spec/lib/gitlab/redis/queues_spec.rb \ spec/lib/gitlab/sidekiq_queue_spec.rb ``` This happens because the `@instances` class variable is memoized by the first spec with some temporary settings. Clear this out to ensure this doesn't pollute the global state.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。