mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
fix: e2e test rebind the registry port to unoccupied 5001
This commit is contained in:
@@ -29,7 +29,7 @@ func TestComposeBuild(t *testing.T) {
|
|||||||
clusterName := "ucind-test.compose-build"
|
clusterName := "ucind-test.compose-build"
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
registryInternalPort := "5000/tcp"
|
registryInternalPort := "5001/tcp"
|
||||||
clusterOpts := ucind.CreateClusterOptions{
|
clusterOpts := ucind.CreateClusterOptions{
|
||||||
Machines: 1,
|
Machines: 1,
|
||||||
PortMap: nat.PortMap{
|
PortMap: nat.PortMap{
|
||||||
@@ -79,7 +79,7 @@ func TestComposeBuild(t *testing.T) {
|
|||||||
Ports: []api.PortSpec{
|
Ports: []api.PortSpec{
|
||||||
{
|
{
|
||||||
ContainerPort: 5000,
|
ContainerPort: 5000,
|
||||||
PublishedPort: 5000,
|
PublishedPort: 5001,
|
||||||
Mode: api.PortModeHost,
|
Mode: api.PortModeHost,
|
||||||
Protocol: api.ProtocolTCP,
|
Protocol: api.ProtocolTCP,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user