test: add constant for tags
This commit is contained in:
@@ -115,9 +115,7 @@ class GameStateRepositoryTest :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
test("getUntil should be concurrently secure") {
|
test("getUntil should be concurrently secure").config(tags = setOf(Tag.Concurrence)) {
|
||||||
tags(Tag.Concurrence)
|
|
||||||
|
|
||||||
val aggregateId = GameId()
|
val aggregateId = GameId()
|
||||||
testKoinApplicationWithConfig {
|
testKoinApplicationWithConfig {
|
||||||
val repo = get<GameStateRepository>()
|
val repo = get<GameStateRepository>()
|
||||||
|
|||||||
@@ -102,9 +102,7 @@ class EventStreamTest :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
context("publish should be concurrently secure") {
|
context("publish should be concurrently secure").config(tags = setOf(Tag.Concurrence)) {
|
||||||
tags(Tag.Concurrence)
|
|
||||||
|
|
||||||
testKoinApplicationWithConfig {
|
testKoinApplicationWithConfig {
|
||||||
withData(eventStreams()) { stream ->
|
withData(eventStreams()) { stream ->
|
||||||
(0..9)
|
(0..9)
|
||||||
|
|||||||
@@ -22,9 +22,7 @@ class VersionBuilderLocalTest :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
test("buildNextVersion concurrently") {
|
test("buildNextVersion concurrently").config(tags = setOf(Tag.Concurrence)) {
|
||||||
tags(Tag.Concurrence)
|
|
||||||
|
|
||||||
val versionBuilder = VersionBuilderLocal()
|
val versionBuilder = VersionBuilderLocal()
|
||||||
val id = IdTest()
|
val id = IdTest()
|
||||||
(1..20)
|
(1..20)
|
||||||
|
|||||||
Reference in New Issue
Block a user