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

Fixed some tests and added timeout for env tests

parent 4441f27e
No related branches found
No related tags found
4 merge requests!231CI: Remove build for log-service,!228Better error message handling in the frontend,!223Release of version 1.4.0,!194Hotfix
......@@ -124,6 +124,7 @@ test-frontend:
test-default-deployment:
stage: test-deployment
timeout: 5m
needs:
- test-frontend
script:
......@@ -135,6 +136,7 @@ test-default-deployment:
test-env-deployment:
stage: test-deployment
timeout: 5m
needs:
- test-frontend
script:
......
......@@ -190,7 +190,7 @@ public class DatabaseServiceIntegrationTest extends BaseUnitTest {
/* test */
MariaDbConfig.getPrivileges(mariaDBContainer.getHost(), mariaDBContainer.getMappedPort(3306), database.getInternalName(), USER_1_USERNAME, USER_1_PASSWORD);
MariaDbConfig.getPrivileges(mariaDBContainer.getHost(), 3308, database.getInternalName(), USER_1_USERNAME, USER_1_PASSWORD);
}
@Test
......@@ -224,14 +224,14 @@ public class DatabaseServiceIntegrationTest extends BaseUnitTest {
/* test */
assertThrows(SQLInvalidAuthorizationSpecException.class, () -> {
MariaDbConfig.getPrivileges(mariaDBContainer.getHost(), mariaDBContainer.getMappedPort(3306), USER_3_USERNAME, USER_4_PASSWORD);
MariaDbConfig.getPrivileges(mariaDBContainer.getHost(), 3308, USER_3_USERNAME, USER_4_PASSWORD);
});
databaseService.updatePassword(User.builder()
.id(USER_3_ID)
.username(USER_3_USERNAME)
.mariadbPassword(USER_4_DATABASE_PASSWORD)
.build());
MariaDbConfig.getPrivileges(mariaDBContainer.getHost(), mariaDBContainer.getMappedPort(3306), USER_3_USERNAME, USER_4_PASSWORD);
MariaDbConfig.getPrivileges(mariaDBContainer.getHost(), 3308, USER_3_USERNAME, USER_4_PASSWORD);
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment