Skip to content

Commit 47c9682

Browse files
authored
Merge pull request #143 from SpineEventEngine/expose-tx-api
Expose transaction API
2 parents 59808bd + 1648b12 commit 47c9682

26 files changed

+595
-407
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ subprojects {
146146
apply plugin: 'com.google.protobuf'
147147
apply plugin: 'io.spine.tools.spine-model-compiler'
148148
apply from: deps.scripts.modelCompiler
149+
apply from: deps.scripts.slowTests
149150

150151
sourceSets {
151152
main {

datastore/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
}
3939

4040
task startDatastore(type: com.github.psxpaul.task.ExecFork) {
41-
description = "Starts local in-memory datastore using scripts from ./scripts folder."
41+
description = "Starts local in-memory datastore."
4242
group = "Build Setup"
4343

4444
executable = "$rootDir/scripts/start-datastore.${runsOnWindows ? 'bat' : 'sh'}"
@@ -49,9 +49,12 @@ task startDatastore(type: com.github.psxpaul.task.ExecFork) {
4949
//
5050
waitForPort = 8081
5151

52+
standardOutput = "$buildDir/ds-emulator/stdout.log"
53+
errorOutput = "$buildDir/ds-emulator/stderr.log"
54+
5255
// Suppress a console warning for JRE < 9
5356
killDescendants = false
5457
}
5558

56-
test.dependsOn startDatastore
59+
tasks.withType(Test) { it.dependsOn startDatastore }
5760
startDatastore.shouldRunAfter assemble

0 commit comments

Comments
 (0)