Project

General

Profile

Bug #21018

Rails 5 - Resolve Katello test failures

Added by Brad Buckingham about 4 years ago. Updated about 3 years ago.

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

Description

As part of upgrading Katello to Rails 5, ensure that there are no test failures.

E.g.

1) Tests (with https://github.com/Katello/katello/pull/6957 applied)  
git fetch upstream pull/6957/head:pr6957
git cherry-pick 41302e57106d4b965c2552bb73d7cfd809a6f3c1

Katello::Api::V2::PackageGroupsControllerTest#test_create_and_delete = 0.12 s = F
Katello::Api::V2::ContentViewsControllerTest#test_remove_protected_envs_with_activation_keys = 0.73 s = F
Katello::Api::V2::HostsBulkActionsControllerTest#test_remove_subscriptions = 0.21 s = F
Katello::Api::V2::HostsBulkActionsControllerTest#test_add_subscriptions = 0.21 s = F
Katello::Api::V2::HostsBulkActionsControllerTest#test_permissions = 0.74 s = F
Katello::Api::Rhsm::CandlepinDynflowProxyControllerIntegrationTest#test_0001_params are not parsed in the controller = 0.34 s = F
Katello::Api::V2::HostSubscriptionsControllerTest#test_add_subscriptions = 0.50 s = F
Katello::Api::V2::HostSubscriptionsControllerTest#test_remove_subscriptions = 0.19 s = F
Katello::Api::V2::HostSubscriptionsControllerTest#test_create = 0.20 s = F
Katello::HostInstalledPackagesTest#test_import_package_profile_adds_removes = 0.64 s = F
Katello::Api::V2::ActivationKeysControllerTest#test_update = 0.22 s = F
Katello::Api::V2::HostCollectionsControllerTest#test_max_host_validator = 0.31 s = F
Katello::Api::V2::ContentViewComponentsControllerTest#test_update_latest = 0.41 s = F

Associated revisions

Revision 10b1d4dd (diff)
Added by Jonathon Turel almost 4 years ago

Fixes #21018 - Rails 5 test failures

History

#1 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 284

#2 Updated by Jonathon Turel almost 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Jonathon Turel

#3 Updated by Brad Buckingham almost 4 years ago

  • Target version changed from 217 to 225

#4 Updated by The Foreman Bot almost 4 years ago

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

#5 Updated by Anonymous almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF