Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
18caf83f
Commit
18caf83f
authored
Jul 10, 2021
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
added hosts to runner, uncommented affected tests
parent
188f38e1
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!81
New stable release
,
!43
Merge dev to master
,
!23
Sprint results
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+0
-2
0 additions, 2 deletions
.gitlab-ci.yml
.gitlab-ci/hosts
+3
-0
3 additions, 0 deletions
.gitlab-ci/hosts
fda-database-service/rest-service/src/test/java/at/tuwien/service/ServiceIntegrationTest.java
+0
-3
0 additions, 3 deletions
...c/test/java/at/tuwien/service/ServiceIntegrationTest.java
with
3 additions
and
5 deletions
.gitlab-ci.yml
+
0
−
2
View file @
18caf83f
...
...
@@ -2,8 +2,6 @@ before_script:
-
"
docker
version"
-
"
docker-compose
version"
-
"
mvn
--version"
-
"
echo
${HOSTALIASES}"
-
"
cat
${HOSTALIASES}"
variables
:
HOSTALIASES
:
./hosts
...
...
This diff is collapsed.
Click to expand it.
hosts
→
.gitlab-ci/
hosts
+
3
−
0
View file @
18caf83f
# 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
This diff is collapsed.
Click to expand it.
fda-database-service/rest-service/src/test/java/at/tuwien/service/ServiceIntegrationTest.java
+
0
−
3
View file @
18caf83f
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Martin Weise
@mweise
mentioned in commit
9412f275
·
Mar 10, 2022
mentioned in commit
9412f275
mentioned in commit 9412f2754c172afb44ada356b7a47c93e3b19f6b
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment