facebook/taste-tester

taste-tester-ref.json overrides command line port configuration

DurhamG opened this issue · 1 comments

I attempted to launch taste-tester with the --chef-port-range argument, but it appeared to ignore my specified port entirely. It turns out it was reading the port from the taste-tester-ref.json file in the chef-cache directory, which presumably came from the previous taste-tester run.

I would expect the command line to override the old json file.

This is tricky. Because we need to ensure that we keep the state from the JSON file so we talk to the right server, and we don't confuse different servers running. In this case stop and start --chef-port-range should do you waht you want and I think that's the right behavior.