Project

General

Profile

Actions

Bug #39037

closed

"should update libvirt compute resource with locs" test is flaky due to array ordering differences

Added by Evgeni Golov 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Failure:
test_0007_should update libvirt compute resource with locs(Minitest::Result) [/home/jenkins/workspace/foreman-develop-source-release/test/controllers/api/v2/compute_resources_controller_test.rb:546]:
Can't update libvirt compute resource with locs [#<Location id: 447626610, name: "loc98", type: "Location", created_at: "2026-01-27 11:19:12.903457287 +0000", updated_at: "2026-01-27 11:19:12.903457287 +0000", ignore_types: [], ancestry: nil, title: "loc98", description: nil>, #<Location id: 447626611, name: "loc99", type: "Location", created_at: "2026-01-27 11:19:12.910118644 +0000", updated_at: "2026-01-27 11:19:12.910118644 +0000", ignore_types: [], ancestry: nil, title: "loc99", description: nil>, #<Location id: 447626612, name: "loc100", type: "Location", created_at: "2026-01-27 11:19:12.916245723 +0000", updated_at: "2026-01-27 11:19:12.916245723 +0000", ignore_types: [], ancestry: nil, title: "loc100", description: nil>].
Expected: ["loc100", "loc98", "loc99"]
  Actual: ["loc98", "loc99", "loc100"]
Actions #1

Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10839 added
Actions #2

Updated by The Foreman Bot 2 months ago

  • Fixed in Releases 3.18.0 added
Actions #3

Updated by Evgeni Golov 2 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF