Update TestLinkEnv for default port

This commit is contained in:
Michael Crosby 2013-10-24 08:57:40 -07:00 committed by Victor Vieux
parent da864a845b
commit e179a24ad5
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ func TestLinkEnv(t *testing.T) {
} }
env[parts[0]] = parts[1] env[parts[0]] = parts[1]
} }
if env["DOCKER_PORT"] != "tcp://172.0.17.2:6379" { if env["DOCKER_PORT"] != "172.0.17.2:6379" {
t.Fatalf("Expected tcp://172.0.17.2:6379, got %s", env["DOCKER_PORT"]) t.Fatalf("Expected 172.0.17.2:6379, got %s", env["DOCKER_PORT"])
} }
if env["DOCKER_PORT_6379_TCP"] != "tcp://172.0.17.2:6379" { if env["DOCKER_PORT_6379_TCP"] != "tcp://172.0.17.2:6379" {
t.Fatalf("Expected tcp://172.0.17.2:6379, got %s", env["DOCKER_PORT_6379_TCP"]) t.Fatalf("Expected tcp://172.0.17.2:6379, got %s", env["DOCKER_PORT_6379_TCP"])