Uploaded image for project: 'R10K'
  1. R10K
  2. RK-284

Test for proxy failure time out instead of being unreachable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Enterprise in the Cloud
    • Story Points:
      1
    • Sprint:
      WC 2017-01-11
    • QA Risk Assessment:
      Needs Assessment

      Description

      Proxy tests are currently using a domain that was previously unreachable, and would result in the following error.

      [2017-01-03 13:55:59 - DEBUG] Using HTTP proxy 'https://proxy.example.com:3128' for 'https://github.com/jfryman/puppet-nginx.git'.
      [2017-01-03 13:55:59 - ERROR] curl error: Could not resolve proxy: proxy.example.com
      

      Now that it is resolvable (and the test is no longer expected to fail), it times out, which produces the following error instead.

      [2017-01-03 14:04:05 - DEBUG] Using HTTP proxy 'https://ilovecatvideos.com:3128' for 'https://github.com/jfryman/puppet-nginx.git'.
      [2017-01-03 14:06:36 - ERROR] curl error: Failed to connect to ilovecatvideos.comport 3128: Operation timed out
      

      We should update the test to use a truly unresolvable host.

        Attachments

          Activity

            People

            • Assignee:
              matthaus Past Haus
              Reporter:
              matthaus Past Haus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support