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
fdce57e6
Commit
fdce57e6
authored
Mar 31, 2021
by
Quang-Minh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a changelog entry
parent
c2f25b2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
ee/changelogs/unreleased/qmnguyen0711-inaccurate-database-role-classification.yml
.../qmnguyen0711-inaccurate-database-role-classification.yml
+5
-0
ee/spec/lib/gitlab/database/load_balancing/host_list_spec.rb
ee/spec/lib/gitlab/database/load_balancing/host_list_spec.rb
+1
-8
No files found.
ee/changelogs/unreleased/qmnguyen0711-inaccurate-database-role-classification.yml
0 → 100644
View file @
fdce57e6
---
title
:
Fix inaccurate role classification in DB instrumentation
merge_request
:
57998
author
:
type
:
fixed
ee/spec/lib/gitlab/database/load_balancing/host_list_spec.rb
View file @
fdce57e6
...
...
@@ -71,14 +71,7 @@ RSpec.describe Gitlab::Database::LoadBalancing::HostList do
describe
'#manage_pool?'
do
before
do
allow
(
Gitlab
::
Database
)
.
to
receive
(
:create_connection_pool
)
.
and_return
(
double
(
:connection
),
double
(
:connection
),
double
(
:connection
),
double
(
:connection
)
)
allow
(
Gitlab
::
Database
).
to
receive
(
:create_connection_pool
)
{
double
(
:connection
)
}
end
context
'when the testing pool belongs to one host of the host list'
do
...
...
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