test(e2e): Modify port to avoid conflicts (#3205)
This commit is contained in:
1 parent
037dc0cf18
commit
6f6f4ade0a
1 file changed
+2
-2
@@ -188,13 +188,13 @@ func StartVault(t testing.TB, pool *dockertest.Pool, network *dockertest.Network
|
||||
Networks: []*dockertest.Network{network},
|
||||
ExposedPorts: []string{"8200"},
|
||||
PortBindings: map[docker.Port][]docker.PortBinding{
|
||||
"8200/tcp": {{HostIP: "localhost", HostPort: "8200/tcp"}},
|
||||
"8200/tcp": {{HostIP: "localhost", HostPort: "8210/tcp"}},
|
||||
},
|
||||
CapAdd: []string{"IPC_LOCK"},
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
uriLocalhost := "http://localhost:8200"
|
||||
uriLocalhost := "http://localhost:8210"
|
||||
|
||||
return &Container{
|
||||
Resource: resource,
|
||||
|
||||
Reference in new issue
Block a user