Commit be734cef authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix seed_fu

parent 29edaa1a
...@@ -435,10 +435,8 @@ db:rollback-mysql: ...@@ -435,10 +435,8 @@ db:rollback-mysql:
variables: variables:
SIZE: "1" SIZE: "1"
SETUP_DB: "false" SETUP_DB: "false"
RAILS_ENV: "development"
script: script:
- git clone https://gitlab.com/gitlab-org/gitlab-test.git - cp -R db/fixtures/development db/fixtures/test
/home/git/repositories/gitlab-org/gitlab-test.git
- bundle exec rake db:setup db:seed_fu - bundle exec rake db:setup db:seed_fu
artifacts: artifacts:
when: on_failure when: on_failure
......
...@@ -75,7 +75,7 @@ Sidekiq::Testing.inline! do ...@@ -75,7 +75,7 @@ Sidekiq::Testing.inline! do
project.send(:_run_after_commit_queue) project.send(:_run_after_commit_queue)
end end
if project.errors.any? && project.valid_repo? if project.errors.messages.empty? && project.valid_repo?
print '.' print '.'
else else
puts project.errors.full_messages puts project.errors.full_messages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment