fix: e2e test rebind the registry port to unoccupied 5001

This commit is contained in:
Pasha Sviderski
2025-09-23 15:26:36 +10:00
parent 08f233c5b1
commit 1a1afece7d
+2 -2
View File
@@ -29,7 +29,7 @@ func TestComposeBuild(t *testing.T) {
clusterName := "ucind-test.compose-build"
ctx := context.Background()
registryInternalPort := "5000/tcp"
registryInternalPort := "5001/tcp"
clusterOpts := ucind.CreateClusterOptions{
Machines: 1,
PortMap: nat.PortMap{
@@ -79,7 +79,7 @@ func TestComposeBuild(t *testing.T) {
Ports: []api.PortSpec{
{
ContainerPort: 5000,
PublishedPort: 5000,
PublishedPort: 5001,
Mode: api.PortModeHost,
Protocol: api.ProtocolTCP,
},