Don't use ports in --base-uri tests as test runner already specifies one

and that port is non-standard.
This commit is contained in:
Michael Klishin 2017-07-19 19:34:16 +03:00
parent 2ef40ad07c
commit 122525358c
1 changed files with 4 additions and 4 deletions

View File

@ -116,10 +116,10 @@ host(Config) ->
"show", "overview"]).
base_uri(Config) ->
{ok, _} = run(Config, ["--base-uri", "http://localhost:15672", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost:15672/", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost:15672", "--vhost", "/", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost:15672/", "--vhost", "/", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost/", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost", "--vhost", "/", "list", "exchanges"]),
{ok, _} = run(Config, ["--base-uri", "http://localhost/", "--vhost", "/", "list", "exchanges"]),
{error, _, _} = run(Config, ["--base-uri", "http://some-host-that-does-not-exist:15672/",
"list", "exchanges"]),
{error, _, _} = run(Config, ["--base-uri", "http://localhost:15672/", "--vhost", "some-vhost-that-does-not-exist",