- Mar 28, 2018
-
-
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
-
- Mar 22, 2018
-
-
Rob Watson authored
Closes #28857
-
- Mar 01, 2018
-
-
Tiago Botelho authored
-
- Feb 22, 2018
-
-
Bob Van Landuyt authored
-
- Feb 16, 2018
-
- Jan 19, 2018
-
-
Alejandro Rodríguez authored
-
- Jan 15, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Dec 14, 2017
-
-
Rémy Coutable authored
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md ) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Dec 08, 2017
-
-
Bob Van Landuyt authored
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.
-
- Nov 30, 2017
-
-
Jacob Vosmaer (GitLab) authored
-
- Nov 21, 2017
-
- Nov 02, 2017
-
-
Mike Greiling authored
-
Mike Greiling authored
-
- Oct 16, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Oct 04, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Oct 03, 2017
-
-
Mike Greiling authored
-
- Sep 22, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Sep 14, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Aug 22, 2017
-
-
Robert Speicher authored
Add `:broken_storage` metadata to examples to disable this behavior only when necessary.
-
- Aug 17, 2017
-
-
Grzegorz Bizon authored
`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)`.
-
- Aug 16, 2017
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
- Aug 11, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Nick Thomas authored
-
- Aug 07, 2017
-
-
Lin Jen-Shin authored
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 ```
-
- Aug 02, 2017
-
-
Lin Jen-Shin authored
Also make it easier to have mailer helper
-
- Jul 31, 2017
-
-
Sean McGivern authored
This was migrated to separate columns in 9.4, and now just needs to be removed for real.
-
- Jul 28, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jul 27, 2017
-
-
Alexis Reigel authored
since everything (except the CurrentKeyChain method) operates on a tempoary keychain anyway we don't need this anymore.
-
Alexis Reigel authored
-
Alexis Reigel authored
-
- Jul 24, 2017
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Jul 19, 2017
-
-
Paweł Chojnacki authored
-
- Jul 13, 2017
-
-
Bob Van Landuyt authored
Otherwise some features would go untested in non-specific contexts I did need to disable the `gitlab_git_diff_size_limit_increase`-feature in some specs since we depend on diffs being expandable while the file we are testing on is smaller than the increased limit.
-
- Jul 12, 2017
-
-
blackst0ne authored
-
- Jul 11, 2017
-
-
- Jul 07, 2017
-
-
Douwe Maan authored
-
- Jul 05, 2017
-
-
Douwe Maan authored
-
- Jun 19, 2017
-
-
Robert Speicher authored
-