Refactor #20645

renderer_test templates proxy call is not stubbed

Added by Timo Goebel 8 months ago. Updated 8 months ago.

Status:Closed
Priority:Normal
Assigned To:Timo Goebel
Category:Templates
Target version:-
Difficulty:trivial Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4753
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Description

RestClient::Exceptions::OpenTimeout: Timed out connecting to server
lib/proxy_api/resource.rb:62:in `block in get'
lib/proxy_api/resource.rb:95:in `with_logger'
lib/proxy_api/resource.rb:59:in `get'
lib/proxy_api/template.rb:10:in `template_url'
lib/foreman/foreman_url_renderer.rb:61:in `foreman_url_from_templates_proxy'
lib/foreman/foreman_url_renderer.rb:24:in `foreman_url'
test/unit/foreman/renderer_test.rb:85:in `block in <class:RendererTest>' (RestClient::Exceptions::OpenTimeout)
/usr/local/rvm/gems/ruby-2.3.1@test_develop_pr_core-2/gems/rest-client-2.0.2/lib/restclient/request.rb:731

Associated revisions

Revision e3411628
Added by Timo Goebel 8 months ago

fixes #20645 - stub templates proxy url call

History

#1 Updated by The Foreman Bot 8 months ago

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

#2 Updated by Timo Goebel 8 months ago

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

#3 Updated by Tomer Brisker 8 months ago

  • Release set to 1.16.0

Also available in: Atom PDF