Project

General

Profile

Actions

Bug #21018

closed

Rails 5 - Resolve Katello test failures

Added by Brad Buckingham about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
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

Actions

Also available in: Atom PDF