Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9e06457a
Commit
9e06457a
authored
Jan 31, 2022
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip specs for flags that do not work for fully decomposed dbs
This are known FFs which does not work for cross-joins
parent
3312e2b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
ee/spec/services/ci/register_job_service_spec.rb
ee/spec/services/ci/register_job_service_spec.rb
+8
-0
spec/models/user_spec.rb
spec/models/user_spec.rb
+2
-0
spec/services/ci/register_job_service_spec.rb
spec/services/ci/register_job_service_spec.rb
+4
-0
No files found.
ee/spec/services/ci/register_job_service_spec.rb
View file @
9e06457a
...
...
@@ -53,6 +53,8 @@ RSpec.describe Ci::RegisterJobService, '#execute' do
context
'with ci_queuing_use_denormalized_data_strategy disabled'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_queuing_use_denormalized_data_strategy:
false
)
end
...
...
@@ -106,6 +108,8 @@ RSpec.describe Ci::RegisterJobService, '#execute' do
context
'with ci_queuing_use_denormalized_data_strategy disabled'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_queuing_use_denormalized_data_strategy:
false
)
end
...
...
@@ -315,6 +319,8 @@ RSpec.describe Ci::RegisterJobService, '#execute' do
context
'when legacy queuing is being used'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_pending_builds_queue_source:
false
)
end
...
...
@@ -342,6 +348,8 @@ RSpec.describe Ci::RegisterJobService, '#execute' do
context
'with ci_queuing_use_denormalized_data_strategy disabled'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_queuing_use_denormalized_data_strategy:
false
)
end
...
...
spec/models/user_spec.rb
View file @
9e06457a
...
...
@@ -4194,6 +4194,8 @@ RSpec.describe User do
context
'when FF ci_owned_runners_cross_joins_fix is disabled'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_owned_runners_cross_joins_fix:
false
)
end
...
...
spec/services/ci/register_job_service_spec.rb
View file @
9e06457a
...
...
@@ -750,6 +750,8 @@ module Ci
context
'with ci_queuing_use_denormalized_data_strategy disabled'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_queuing_use_denormalized_data_strategy:
false
)
end
...
...
@@ -773,6 +775,8 @@ module Ci
context
'when not using pending builds table'
do
before
do
skip_if_multiple_databases_are_setup
stub_feature_flags
(
ci_pending_builds_queue_source:
false
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment