summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@getchef.com>2014-10-14 16:21:07 -0700
committerChris Doherty <cdoherty@getchef.com>2014-11-04 20:01:01 -0800
commit0d7c526b69f768e32d005d4932494e8dd3f7f8d2 (patch)
tree0e4c303037cc7f0be0d765edbf85319578bbbb47
parent670c0133a5955f98ae3b2f0a00729ec946a2a7f4 (diff)
downloadchef-run-specs-from-chef.tar.gz
Change the integration test server port from 8889 to 8890 so the test can succeed when being run from a Chef recipe.run-specs-from-chef
-rw-r--r--spec/integration/knife/serve_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/serve_spec.rb b/spec/integration/knife/serve_spec.rb
index 3c859b794e..6a8328ef9e 100644
--- a/spec/integration/knife/serve_spec.rb
+++ b/spec/integration/knife/serve_spec.rb
@@ -31,14 +31,14 @@ describe 'knife serve', :workstation do
exception = nil
t = Thread.new do
begin
- knife('serve --chef-zero-port=8889')
+ knife('serve --chef-zero-port=8890')
rescue
exception = $!
end
end
begin
Chef::Config.log_level = :debug
- Chef::Config.chef_server_url = 'http://localhost:8889'
+ Chef::Config.chef_server_url = 'http://localhost:8890'
Chef::Config.node_name = nil
Chef::Config.client_key = nil
api = Chef::ServerAPI.new