Bug #15873

Unit test test_edit_form_submit_parameters is failing against 1.12

Added by Lukas Zapletal 8 months ago. Updated 8 months ago.

Status:Closed
Priority:Normal
Assigned To:Lukas Zapletal
Category:Discovery plugin
Target version:Plugin 6.0
Difficulty: Pull request:https://github.com/theforeman/foreman_discovery/pull/291
Bugzilla link:
Story points-
Velocity based estimate-

Description

Discovery 6.0 against 1.11 has one failure:

1) Failure:
DiscoveredHostsControllerTest#test_edit_form_submit_parameters [/home/lzap/work/foreman_discovery/test/functional/discovered_hosts_controller_test.rb:121]:
Expected at least 1 element matching "#host_hostgroup_id [selected]", found 0..
Expected 0 to be >= 1.

125 runs, 332 assertions, 1 failures, 0 errors, 0 skips

On develop, this is not an issue, but we need to associate taxonomy with hostgroup in order to fix this.

Associated revisions

Revision 14e68ed5
Added by Lukas Zapletal 8 months ago

Fixes #15873 - taxonomy fixed for provisioning test

History

#1 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman_discovery/pull/291 added

#2 Updated by Anonymous 8 months ago

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

Also available in: Atom PDF