1
0
forked from PGL/Clyde

Fixing the CI

Moving the dev test and build to port 5442 from 5432 to avoid
conflicting with the running postgresql
This commit is contained in:
2024-03-17 22:02:05 +01:00
parent f2b80ba89f
commit ee37dc79a7
4 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public class StorageControllerTest {
.withDatabaseName("clyde")
.withUsername("devel")
.withPassword("devel")
.withCreateContainerCmdModifier(cmd -> cmd.withHostConfig(new HostConfig().withPortBindings(new PortBinding(Ports.Binding.bindPort(5432), new ExposedPort(5432)))));
.withCreateContainerCmdModifier(cmd -> cmd.withHostConfig(new HostConfig().withPortBindings(new PortBinding(Ports.Binding.bindPort(5442), new ExposedPort(5432)))));
@BeforeAll
static void beforeAll(){

View File

@ -55,7 +55,7 @@ public class UserControllerTest {
.withDatabaseName("clyde")
.withUsername("devel")
.withPassword("devel")
.withCreateContainerCmdModifier(cmd -> cmd.withHostConfig(new HostConfig().withPortBindings(new PortBinding(Ports.Binding.bindPort(5432), new ExposedPort(5432)))));
.withCreateContainerCmdModifier(cmd -> cmd.withHostConfig(new HostConfig().withPortBindings(new PortBinding(Ports.Binding.bindPort(5442), new ExposedPort(5432)))));
@BeforeAll
static void beforeAll(){