[Test] spec/lib/gitlab/database/load_balancing_spec.rb | Gitlab::Database::LoadBalancing LoadBalancing integration tests custom connection handling queries: -> { connection = model.connection connection.select_one('SELECT 1'...
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Test metadata
| Field | Value |
|---|---|
| File URL | spec/lib/gitlab/database/load_balancing_spec.rb#L538 |
| Filename | spec/lib/gitlab/database/load_balancing_spec.rb |
| Description | `` Gitlab::Database::LoadBalancing LoadBalancing integration tests custom connection handling queries: -> { |
connection = model.connection
connection.select_one('SELECT 1')
connection.pool.release_connection
}, expected_role: :replica redirects queries to the right roles `` |
| Test level | unit |
| Hash | f568766eb01e345484f0410b1ee546b9b00e6225e |
| Max expected duration | < 27.12 seconds |
Edited by 🤖 GitLab Bot 🤖