spec: Enable webmock connect to IPv4 link-local

compile and compile.with_all_deps rpsec matchers make
a call to all facts, and especially the ec2 one (this fact, try
to make a connection on the IPv4 link-local for ec2 metadata which
is incompatible with webmock restrictions), this seems to produce
random errors with puppet 3.{3,4}.x and facter 1.7.6.

Change-Id: Ib9b24a899700742ff623231f576ea2bf14141683
Closes-bug: #1492636
This commit is contained in:
Sebastien Badia 2015-09-05 22:53:15 +02:00
parent 5ee9fcdf00
commit be0b9ac1a3
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
require 'spec_helper'
# LP1492636 - Cohabitation of compile matcher and webmock
WebMock.disable_net_connect!(:allow => "169.254.169.254")
describe 'nova::vncproxy' do