File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
bulk-model-sync-gradle-test Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -71,17 +71,6 @@ kotlin {
71
71
jvmToolchain(11 )
72
72
}
73
73
74
- tasks.register(" runModelServer" , JavaExec ::class ) {
75
- group = " modelix"
76
-
77
- description = " Launches a model-server instance to be used as a target for the test. " +
78
- " This task will block and is intended to be run in a separate process, apart from the actual test execution."
79
-
80
- classpath = sourceSets[" main" ].runtimeClasspath
81
- mainClass.set(" org.modelix.model.server.Main" )
82
- args(" -inmemory" , " -port" , " 28309" )
83
- }
84
-
85
74
val repoDir = project.layout.buildDirectory.dir(" test-repo" ).get().asFile
86
75
87
76
val copyTestRepo by tasks.registering(Sync ::class ) {
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
set -e
4
+ set -x
4
5
5
6
cd " $( dirname " $0 " ) "
6
7
@@ -19,9 +20,12 @@ if [ "${CI}" != "true" ]; then
19
20
}
20
21
fi
21
22
22
- ./gradlew runModelServer --console=plain &
23
+ cd ..
24
+ ./gradlew :model-server:run --console=plain --args=" -inmemory -port 28309" &
23
25
MODEL_SERVER_PID=$!
24
26
27
+ cd " $( dirname " $0 " ) "
28
+
25
29
curl -X GET --retry 30 --retry-connrefused --retry-delay 1 http://localhost:28309/health
26
30
27
31
./gradlew runSyncTestPush --console=plain --stacktrace
You can’t perform that action at this time.
0 commit comments