summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-06-09 15:26:10 -0700
committerJohn McCrae <john.mccrae@progress.com>2022-06-13 14:30:44 -0700
commit41c5a08e06374018d647d9f5c4070170b66d11cd (patch)
treeb829b517acb8fc798931e13cc06d66dbbd60a99f
parentc7e73c3712ec53853db1b3d09880bbb90e150e94 (diff)
downloadchef-41c5a08e06374018d647d9f5c4070170b66d11cd.tar.gz
debugging build failures
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--.expeditor/scripts/bk_win_unit.ps12
-rw-r--r--spec/unit/provider/package/rubygems_spec.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/.expeditor/scripts/bk_win_unit.ps1 b/.expeditor/scripts/bk_win_unit.ps1
index f1f28ade05..65c8b292e6 100644
--- a/.expeditor/scripts/bk_win_unit.ps1
+++ b/.expeditor/scripts/bk_win_unit.ps1
@@ -3,7 +3,7 @@ $PrepScript = Join-Path $CurrentDirectory "bk_win_prep.ps1"
Invoke-Expression $PrepScript
echo "+++ bundle exec rake"
-bundle exec rake spec:unit
+bundle exec rake spec:unit --verbose
if (-not $?) { throw "Chef unit tests failing." }
bundle exec rake component_specs
if (-not $?) { throw "Chef component specs failing." }
diff --git a/spec/unit/provider/package/rubygems_spec.rb b/spec/unit/provider/package/rubygems_spec.rb
index a4ffc1712e..426504a913 100644
--- a/spec/unit/provider/package/rubygems_spec.rb
+++ b/spec/unit/provider/package/rubygems_spec.rb
@@ -135,6 +135,8 @@ describe Chef::Provider::Package::Rubygems::CurrentGemEnvironment do
end
it "finds a matching gem from a specific gemserver when explicit sources are given (to a server that doesn't respond to api requests)" do
+ # require "pry"
+ # binding.pry
stub_request(:head, "https://rubygems2.org/")
.to_return(status: 200, body: "", headers: {})
stub_request(:get, "https://rubygems2.org/info/sexp_processor")