File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
bulk-model-sync-gradle-test
src/test/kotlin/org/modelix/model/sync/bulk/gradle/test Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ tasks.register("runModelServer", JavaExec::class) {
74
74
75
75
classpath = sourceSets[" main" ].runtimeClasspath
76
76
mainClass.set(" org.modelix.model.server.Main" )
77
- args(" -inmemory" )
77
+ args(" -inmemory" , " -port " , " 28309 " )
78
78
}
79
79
80
80
val resolveMps by tasks.registering(Copy ::class ) {
@@ -101,15 +101,15 @@ modelSync {
101
101
repositoryDir = repoDir
102
102
}
103
103
toModelServer {
104
- url = " http://0.0.0.0:${ Main . DEFAULT_PORT } /v2"
104
+ url = " http://0.0.0.0:28309 /v2"
105
105
repositoryId = " ci-test"
106
106
branchName = " master"
107
107
}
108
108
}
109
109
direction(" testPull" ) {
110
110
includeModule(" GraphSolution" )
111
111
fromModelServer {
112
- url = " http://0.0.0.0:${ Main . DEFAULT_PORT } /v2"
112
+ url = " http://0.0.0.0:28309 /v2"
113
113
repositoryId = " ci-test"
114
114
branchName = " master"
115
115
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ "${CI}" = "true" ]; then
28
28
sleep 10
29
29
fi
30
30
31
- curl -X POST http://127.0.0.1:28101 /v2/repositories/ci-test/init
31
+ curl -X POST http://127.0.0.1:28309 /v2/repositories/ci-test/init
32
32
33
33
./gradlew runSyncTestPush --console=plain --stacktrace
34
34
./gradlew test --tests ' PushTest'
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class PushTest {
42
42
43
43
val repoId = RepositoryId (" ci-test" )
44
44
val branchName = " master"
45
- val url = " http://0.0.0.0:${ Main . DEFAULT_PORT } /v2"
45
+ val url = " http://0.0.0.0:28309 /v2"
46
46
47
47
val branchRef = ModelFacade .createBranchReference(repoId, branchName)
48
48
val client = ModelClientV2PlatformSpecificBuilder ().url(url).build().apply { runBlocking { init () } }
You can’t perform that action at this time.
0 commit comments