mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Addresses are just addresses - no ports
Store address+port in an unexported field for ease-of-use
This commit is contained in:
@@ -61,7 +61,7 @@ func TestCommand_Args(t *testing.T) {
|
||||
|
||||
// To prevent test failures on hosts whose hostname resolves to
|
||||
// a loopback address, we must append a bind address
|
||||
tc.args = append(tc.args, "-bind=127.0.0.1")
|
||||
tc.args = append(tc.args, "-bind=169.254.0.1")
|
||||
if code := cmd.Run(tc.args); code != 1 {
|
||||
t.Fatalf("args: %v\nexit: %d\n", tc.args, code)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user