Skip to content

Commit

Permalink
Merge branch '804-bosh-dns'
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hale <bhale@pivotal.io>
  • Loading branch information
nebhale committed Apr 22, 2020
2 parents aa94d38 + 0f7ef90 commit 42f03f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/java_buildpack/jre/open_jdk_like_jre_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
it 'does not disable dns caching if no BOSH DNS',
cache_fixture: 'stub-java.tar.gz' do

allow_any_instance_of(Resolv::DNS::Config).to receive(:nameserver_port).and_return([['8.8.8.8', 53]])

component.detect
component.compile

Expand Down

0 comments on commit 42f03f8

Please sign in to comment.