Project

General

Profile

Bug #27265

Domains controller transient failures

Added by Tomer Brisker 5 months ago. Updated 5 months ago.

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

Description

Appears like one of the tests is failing randomly for the past few days:

--- expected
+++ actual
@@ -1 +1 @@
-#<ActiveRecord::Relation [#<Domain id: 589326610, name: "yourdomain.net", fullname: "somewhere in yourdomain", created_at: "2019-07-10 11:51:04", updated_at: "2019-07-10 11:51:04", dns_id: 113629430>, #<Domain id: 22495316, name: "mydomain.net", fullname: nil, created_at: "2019-07-10 11:51:04", updated_at: "2019-07-10 11:51:04", dns_id: 113629430>]>
+#<ActiveRecord::Associations::CollectionProxy [#<Domain id: 22495316, name: "mydomain.net", fullname: nil, created_at: "2019-07-10 11:51:04", updated_at: "2019-07-10 11:51:04", dns_id: 113629430>, #<Domain id: 589326610, name: "yourdomain.net", fullname: "somewhere in yourdomain", created_at: "2019-07-10 11:51:04", updated_at: "2019-07-10 11:51:04", dns_id: 113629430>]>
 (Minitest::Assertion)
/home/jenkins/workspace/test_develop_pr_core/database/postgresql/ruby/2.5/slave/fast/test/controllers/api/v2/domains_controller_test.rb:77    

Related issues

Copied from Foreman - Bug #27171: Realms controller transient failuresClosed

Associated revisions

Revision ee0a58ad (diff)
Added by Tomer Brisker 5 months ago

Fixes #27265 - Improve domains api test

Fix transient failure and refactor taxonomy scope testing.

History

#1 Updated by Tomer Brisker 5 months ago

  • Copied from Bug #27171: Realms controller transient failures added

#2 Updated by The Foreman Bot 5 months ago

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

#3 Updated by Tomer Brisker 5 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 5 months ago

  • Fixed in Releases 1.23.0 added

Also available in: Atom PDF