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
9567b162
Commit
9567b162
authored
Jan 10, 2022
by
Maxime Orefice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove runner specs from crossdatabase list
parent
abd9ec2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
spec/models/ci/runner_spec.rb
spec/models/ci/runner_spec.rb
+1
-1
spec/support/database/cross-database-modification-allowlist.yml
...upport/database/cross-database-modification-allowlist.yml
+0
-1
No files found.
spec/models/ci/runner_spec.rb
View file @
9567b162
...
...
@@ -48,7 +48,7 @@ RSpec.describe Ci::Runner do
let
(
:runner
)
{
create
(
:ci_runner
,
:group
,
groups:
[
group
])
}
it
'disallows assigning group if already assigned to a group'
do
runner
.
runner_namespaces
<<
build
(
:ci_runner_namespace
)
runner
.
runner_namespaces
<<
create
(
:ci_runner_namespace
)
expect
(
runner
).
not_to
be_valid
expect
(
runner
.
errors
.
full_messages
).
to
include
(
'Runner needs to be assigned to exactly one group'
)
...
...
spec/support/database/cross-database-modification-allowlist.yml
View file @
9567b162
...
...
@@ -17,7 +17,6 @@
-
"
./spec/lib/gitlab/email/handler/create_note_on_issuable_handler_spec.rb"
-
"
./spec/models/ci/build_trace_chunk_spec.rb"
-
"
./spec/models/ci/job_artifact_spec.rb"
-
"
./spec/models/ci/runner_spec.rb"
-
"
./spec/models/clusters/applications/runner_spec.rb"
-
"
./spec/models/design_management/version_spec.rb"
-
"
./spec/models/hooks/system_hook_spec.rb"
...
...
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