diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-10-14 16:21:07 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-11-05 09:46:38 -0800 |
commit | e32e9de33e6e78549c651c300c952cc1a37ed111 (patch) | |
tree | 0e4c303037cc7f0be0d765edbf85319578bbbb47 | |
parent | 670c0133a5955f98ae3b2f0a00729ec946a2a7f4 (diff) | |
download | chef-e32e9de33e6e78549c651c300c952cc1a37ed111.tar.gz |
Change the integration test server port from 8889 to 8890 so the test can succeed when
being run from a Chef recipe (specifically chef-zero in test-kitchen).
-rw-r--r-- | spec/integration/knife/serve_spec.rb | 4 |
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 |