gitlab-org--gitlab-foss/spec
Kamil Trzciński 359b4f9a03 Merge branch 'fix/async-pipeline-processing-stale-data' into 'master'
Fix ci pipeline processing with async jobs

## What does this MR do?

This MR fixes CI pipeline processing with asynchronous jobs called from `around_transition` provided by state machine.
For details see  https://github.com/pluginaweek/state_machine/issues/191 and commit f68acba.

## Why was this MR needed?

Recently merged https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6650 introduced problem with asynchronous job being deployed when `around_transition` still held transaction, which caused race condition that prevented pipeline status to change in a proper way. 

## What are the relevant issue numbers?

Closes #23111

See merge request !6736
2016-10-10 13:39:51 +00:00
..
config
controllers Add tests to Projects::Boards::IssuesController#create action 2016-10-06 11:00:01 +01:00
factories Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
features Correct namespace validation to forbid bad names #21077 2016-10-07 13:46:59 -05:00
finders Refactor TrendingProjectsFinder to support caching 2016-10-05 16:39:03 +02:00
fixtures
helpers Merge branch 'rs-optimize-award_user_list-spec' into 'master' 2016-10-07 15:18:22 +00:00
initializers
javascripts Prevent conflict b/w search field and its dropdown 2016-10-10 10:16:09 +02:00
lib Use Hash rocket syntax to maintain Ruby 2.1 compatibility in spec 2016-10-08 05:17:01 -07:00
mailers override subject method in devise mailer 2016-10-03 18:07:28 +08:00
models Merge branch 'namespace-validation-fixes' into 'master' 2016-10-10 13:39:39 +00:00
policies Improve project policy spec 2016-10-06 18:54:28 -03:00
requests Merge branch 'ben.boeckel/gitlab-ce-api-visible-projects' into 'master' 2016-10-07 09:54:44 +00:00
routing Update user routing spec after constrainer logic changed 2016-10-06 19:50:48 +03:00
services Improve spec for merge when build succeeds feature 2016-10-08 20:24:43 +02:00
support Merge commit 'dev/security' into 'master' 2016-10-06 08:33:11 +02:00
tasks/gitlab
uploaders
views Merge commit 'dev/security' into 'master' 2016-10-06 08:33:11 +02:00
workers ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup 2016-10-07 15:33:58 +02:00
factories_spec.rb
rails_helper.rb
simplecov_env.rb
spec_helper.rb Try tmpfs for repository storage, etc 2016-10-06 17:42:56 +01:00
teaspoon_env.rb