[Test] spec/services/database/consistency_check_service_spec.rb | Database::ConsistencyCheckService#execute no cursor has been saved before picks a random start_id

Test metadata (don't modify)

Field Value
File URL spec/services/database/consistency_check_service_spec.rb#L86
Filename spec/services/database/consistency_check_service_spec.rb
Description Database::ConsistencyCheckService#execute no cursor has been saved before picks a random start_id
Test level unit
Hash f8dcb4ed1da96a88caad4f1b01b712404db870761
Reference duration 4.8 seconds
Expected duration < 45.4 seconds

Stack trace

Failure/Error: expect(result).to match(expected_result)

  expected {:batches=>2, :matches=>6, :mismatches=>0, :mismatches_details=>[], :next_start_id=>2654, :start_id=>2698} to match {:batches=>2, :matches=>10, :mismatches=>0, :mismatches_details=>[], :start_id=>(be between 2654 and 2703 (inclusive)), :next_start_id=>(be between 2654 and 2703 (inclusive))}
  Diff:

  @@ -1,7 +1,7 @@
   :batches => 2,
  -:matches => 10,
  +:matches => 6,
   :mismatches => 0,
   :mismatches_details => [],
  -:next_start_id => (be between 2654 and 2703 (inclusive)),
  -:start_id => (be between 2654 and 2703 (inclusive)),
  +:next_start_id => 2654,
  +:start_id => 2698,

Reports (12)

Last 10 reports:

  1. 2024-04-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/6628876646 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1253652602)
  2. 2024-04-13: https://gitlab.com/gitlab-org/gitlab/-/jobs/6618377167 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1251791198)
  3. 2024-04-10: https://gitlab.com/gitlab-org/gitlab/-/jobs/6597506209 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1248260653)
  4. 2024-04-10: https://gitlab.com/gitlab-org/gitlab/-/jobs/6593586093 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1247652667)
  5. 2024-03-26: https://gitlab.com/gitlab-org/gitlab/-/jobs/6479134645 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1227940930)
  6. 2024-03-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/6473262463 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1226954997)
  7. 2024-03-22: https://gitlab.com/gitlab-org/gitlab/-/jobs/6456276127 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1223877946)
  8. 2024-03-22: https://gitlab.com/gitlab-org/gitlab/-/jobs/6452797945 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1223278235)
  9. 2024-03-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6442223921 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1221531875)
  10. 2024-03-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6432949400 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1220059008)
See 2 more reports
  1. 2024-03-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/6419301517 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1217972300)
  2. 2024-03-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/6399106566 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1214338272)
Edited by Ghost User