[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.

  • Close this issue

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 Aug 29, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading