Project

General

Profile

Bug #25738

test breakage from foreman change

Added by Justin Sherrill 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, not yet invoked: Katello::Host::SubscriptionFacet(id: integer, host_id: integer, uuid: string, last_checkin: datetime, service_level: string, release_version: string, autoheal: boolean, registered_at: datetime, registered_through: string, user_id: integer, hypervisor: boolean, hypervisor_host_id: integer, purpose_usage: text, purpose_role: text, purpose_addons: text).update_facts(#<Host::Managed:0x1036d250>, {:foo => :bar})
satisfied expectations:
- allowed any number of times, not yet invoked: Katello::Ping.ping(any_parameters)
- allowed any number of times, not yet invoked: Cert::Certs.ssl_client_key(any_parameters)
- allowed any number of times, not yet invoked: Cert::Certs.ssl_client_cert(any_parameters)
- allowed any number of times, not yet invoked: Cert::Certs.ca_cert(any_parameters)
- allowed any number of times, invoked once: #<Organization:0x10490290>.label_not_changed(any_parameters)
- allowed any number of times, invoked 9 times: #<AnyInstance:Katello::Host::SubscriptionFacet(id: integer, host_id: integer, uuid: string, last_checkin: datetime, service_level: string, release_version: string, autoheal: boolean, registered_at: datetime, registered_through: string, user_id: integer, hypervisor: boolean, hypervisor_host_id: integer, purpose_usage: text, purpose_role: text, purpose_addons: text)>.host(any_parameters)
- allowed any number of times, invoked once: #<AnyInstance:Katello::Candlepin::Consumer>.consumer_attributes(any_parameters)
- allowed any number of times, invoked once: Katello::Resources::Candlepin::Consumer.virtual_host(any_parameters)
- allowed any number of times, invoked once: Katello::Resources::Candlepin::Consumer.virtual_guests(any_parameters)
(Minitest::Assertion)
/var/lib/workspace/workspace/katello-pr-test/test/lib/tasks/update_subscription_facet_backend_data_test.rb:22

related to: https://github.com/theforeman/foreman/pull/6034

Associated revisions

Revision 1087a435 (diff)
Added by Justin Sherrill 9 months ago

Fixes #25738 - use valid host names in fixtures

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7900 added

#2 Updated by Justin Sherrill 9 months ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Justin Sherrill 9 months ago

  • Triaged changed from No to Yes

Also available in: Atom PDF