1. 06 7月, 2018 1 次提交
  2. 21 6月, 2018 1 次提交
  3. 14 6月, 2018 1 次提交
  4. 12 6月, 2018 1 次提交
  5. 05 6月, 2018 1 次提交
  6. 10 5月, 2018 1 次提交
  7. 04 5月, 2018 1 次提交
  8. 25 4月, 2018 1 次提交
  9. 23 4月, 2018 1 次提交
  10. 06 4月, 2018 1 次提交
  11. 03 4月, 2018 1 次提交
  12. 28 3月, 2018 1 次提交
    • S
      Clean the test path after each spec run · d7dc9ad1
      Stan Hu 提交于
      FactoryBot's build_stubbed ignores the current database sequence of the
      projects table and starts at ID 1000. If more than 1000 projects are created
      during a test run, leftover repositories can cause spec failures. For example,
      a spec that expects an empty repository may fail since there may be existing
      content.
      
      Closes #5461
      d7dc9ad1
  13. 23 3月, 2018 1 次提交
  14. 02 3月, 2018 1 次提交
  15. 23 2月, 2018 1 次提交
  16. 17 2月, 2018 1 次提交
  17. 20 1月, 2018 1 次提交
  18. 15 1月, 2018 1 次提交
  19. 14 12月, 2017 1 次提交
  20. 08 12月, 2017 1 次提交
    • B
      Move the circuitbreaker check out in a separate process · f1ae1e39
      Bob Van Landuyt 提交于
      Moving the check out of the general requests, makes sure we don't have
      any slowdown in the regular requests.
      
      To keep the process performing this checks small, the check is still
      performed inside a unicorn. But that is called from a process running
      on the same server.
      
      Because the checks are now done outside normal request, we can have a
      simpler failure strategy:
      
      The check is now performed in the background every
      `circuitbreaker_check_interval`. Failures are logged in redis. The
      failures are reset when the check succeeds. Per check we will try
      `circuitbreaker_access_retries` times within
      `circuitbreaker_storage_timeout` seconds.
      
      When the number of failures exceeds
      `circuitbreaker_failure_count_threshold`, we will block access to the
      storage.
      
      After `failure_reset_time` of no checks, we will clear the stored
      failures. This could happen when the process that performs the checks
      is not running.
      f1ae1e39
  21. 30 11月, 2017 1 次提交
  22. 22 11月, 2017 1 次提交
  23. 02 11月, 2017 2 次提交
  24. 16 10月, 2017 1 次提交
  25. 04 10月, 2017 1 次提交
  26. 03 10月, 2017 1 次提交
  27. 22 9月, 2017 1 次提交
  28. 14 9月, 2017 1 次提交
  29. 23 8月, 2017 1 次提交
  30. 17 8月, 2017 1 次提交
    • G
      Migrate down before each migration unit test · 56d24bcf
      Grzegorz Bizon 提交于
      `migrate!` helper triggers a migration that is under the test, so we
      need to revert it before each subsequent example. This means that we
      need to place it in `before(:each, :migration)` hook.
      
      We still want to migrate everything up *after* each *context*, so in
      otherwords we need to place migrate up helper in `before(:context,
      :migration)`.
      56d24bcf
  31. 16 8月, 2017 2 次提交
  32. 11 8月, 2017 3 次提交
  33. 07 8月, 2017 1 次提交
    • L
      Reset only migration models · 4d7c072d
      Lin Jen-Shin 提交于
      So that we could make sure migration tests could run even if
      geo is not setup in EE.
      
      This is because we have a model like this:
      
      ``` ruby
      class Geo::BaseRegistry < ActiveRecord::Base
        def self.connection
          raise 'Geo secondary database is not configured' unless Gitlab::Geo.geo_database_configured?
      
          super
        end
      end
      ```
      4d7c072d
  34. 03 8月, 2017 1 次提交
  35. 31 7月, 2017 1 次提交
  36. 28 7月, 2017 1 次提交