Make listen port random in test added in previous PR

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
Ivan Kozlovic
2018-08-27 19:27:52 -06:00
parent 1cdf39d7f4
commit 9333f9ff0f

View File

@@ -1159,6 +1159,7 @@ func TestRoutesOnlyImportOrExport(t *testing.T) {
}
f := func(c string) {
cf := createConfFile(t, []byte(fmt.Sprintf(`
port: -1
cluster {
port: -1
authorization {