Project

General

Profile

Actions

Refactor #31016

closed

Plugin testing leaves mess in registries

Added by Ondřej Ezr over 3 years ago. Updated over 3 years ago.

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

Description

Durign plugin testing (test/unit/plugin_test.rb) we refresh the plugin set, but we keep the same registries.
We need to refresh the registries as well, otherwise those are being filled with mocks and other garbage, that should not really be there.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #36661: Drop deprecated restore_plugins from test_helperClosedEvgeni GolovActions
Actions #1

Updated by The Foreman Bot over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.3.0 added
Actions #3

Updated by Ondřej Ezr over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Evgeni Golov 10 months ago

  • Related to Bug #36661: Drop deprecated restore_plugins from test_helper added
Actions

Also available in: Atom PDF