Public bug reported:

Failures:

  1) R10K::Settings global settings proxy setting a default value respects the 
HTTP_PROXY environment variable
     Failure/Error: expect(output[:proxy]).to 
eq("http://proxy.value/#{env_var}";)

       expected: "http://proxy.value/HTTP_PROXY";
            got: "http://squid.internal:3128";

       (compared using ==)
     # ./spec/unit/settings_spec.rb:237:in `block (7 levels) in <top 
(required)>'
     # ./spec/unit/settings_spec.rb:235:in `block (6 levels) in <top 
(required)>'

  2) R10K::Settings global settings proxy setting a default value respects the 
http_proxy environment variable
     Failure/Error: expect(output[:proxy]).to 
eq("http://proxy.value/#{env_var}";)

       expected: "http://proxy.value/http_proxy";
            got: "http://squid.internal:3128";

       (compared using ==)
     # ./spec/unit/settings_spec.rb:237:in `block (7 levels) in <top 
(required)>'
     # ./spec/unit/settings_spec.rb:235:in `block (6 levels) in <top 
(required)>'


Those tests are failing because the Ubuntu autopkgtest infrastructure uses the 
same variables the tests are trying to update. They should be skipped when 
executed under those circumstances.

** Affects: r10k (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940104

Title:
  Proxy tests failing in the autopkgtest environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r10k/+bug/1940104/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to