Allow binding ECS container port
This commit is contained in:
parent
12c713b187
commit
0d262561d1
5 changed files with 89 additions and 28 deletions
|
@ -30,7 +30,7 @@ func TestBuildConfigurationV1(t *testing.T) {
|
|||
machine: &machine{
|
||||
state: ec2.InstanceStateNameRunning,
|
||||
privateIP: "10.0.0.1",
|
||||
port: 1337,
|
||||
ports: []portMapping{{hostPort: 1337}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -76,7 +76,7 @@ func TestBuildConfigurationV1(t *testing.T) {
|
|||
machine: &machine{
|
||||
state: ec2.InstanceStateNameRunning,
|
||||
privateIP: "10.0.0.1",
|
||||
port: 1337,
|
||||
ports: []portMapping{{hostPort: 1337}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -142,7 +142,7 @@ func TestBuildConfigurationV1(t *testing.T) {
|
|||
machine: &machine{
|
||||
state: ec2.InstanceStateNameRunning,
|
||||
privateIP: "10.0.0.1",
|
||||
port: 1337,
|
||||
ports: []portMapping{{hostPort: 1337}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -219,7 +219,7 @@ func TestBuildConfigurationV1(t *testing.T) {
|
|||
machine: &machine{
|
||||
state: ec2.InstanceStateNameRunning,
|
||||
privateIP: "10.0.0.1",
|
||||
port: 1337,
|
||||
ports: []portMapping{{hostPort: 1337}},
|
||||
},
|
||||
}, {
|
||||
Name: "testing-instance-v2",
|
||||
|
@ -248,7 +248,7 @@ func TestBuildConfigurationV1(t *testing.T) {
|
|||
machine: &machine{
|
||||
state: ec2.InstanceStateNameRunning,
|
||||
privateIP: "10.0.0.2",
|
||||
port: 1337,
|
||||
ports: []portMapping{{hostPort: 1337}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue