Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10053

Update webmock and vcr

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.4.5, PUP 6.11.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet uses VCR and WebMock to stub/expect network connections. If a network request is made that wasn't expected, then VCR intercepts the request and prints a not useful error message. You can allow VCR to pass through requests it doesn't care about (using vcr.allow_http_connections_when_no_cassette = true) but we are using ancient versions of webmock and vcr.

      This ticket is to update vcr and webmock, and ensure vcr only generates errors on tests that have explicitly been tagged with :vcr using rspec metadata.

        Attachments

          Activity

            People

            Assignee:
            josh Josh Cooper
            Reporter:
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support