Skip to content
Snippets Groups Projects
Commit 18caf83f authored by Martin Weise's avatar Martin Weise
Browse files

added hosts to runner, uncommented affected tests

parent 188f38e1
Branches
Tags
3 merge requests!81New stable release,!43Merge dev to master,!23Sprint results
......@@ -2,8 +2,6 @@ before_script:
- "docker version"
- "docker-compose version"
- "mvn --version"
- "echo ${HOSTALIASES}"
- "cat ${HOSTALIASES}"
variables:
HOSTALIASES: ./hosts
......
# Add these addresses to your /etc/hosts file to pass the Docker name resolution during testing
172.28.0.5 fda-userdb-u01
172.28.0.6 fda-userdb-u02
\ No newline at end of file
......@@ -147,7 +147,6 @@ public class ServiceIntegrationTest extends BaseUnitTest {
}
@Test
@Disabled("Cannot test docker hostname in maven")
public void create_postgres_succeeds() throws ImageNotSupportedException, ContainerNotFoundException,
DatabaseMalformedException, SQLException {
final DatabaseCreateDto request = DatabaseCreateDto.builder()
......@@ -215,7 +214,6 @@ public class ServiceIntegrationTest extends BaseUnitTest {
}
@Test
@Disabled("Cannot test docker hostname in maven")
public void delete_succeeds() throws DatabaseNotFoundException, ImageNotSupportedException,
DatabaseMalformedException {
......@@ -251,7 +249,6 @@ public class ServiceIntegrationTest extends BaseUnitTest {
}
@Test
@Disabled("Cannot test docker hostname in maven")
public void modify_succeeds() throws DatabaseNotFoundException, ImageNotSupportedException,
DatabaseMalformedException {
final DatabaseModifyDto request = DatabaseModifyDto.builder()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment