test: add constant for tags

This commit is contained in:
2025-04-10 23:25:31 +02:00
parent 13b2795736
commit ea18aabdec
3 changed files with 3 additions and 9 deletions

View File

@@ -115,9 +115,7 @@ class GameStateRepositoryTest :
}
}
test("getUntil should be concurrently secure") {
tags(Tag.Concurrence)
test("getUntil should be concurrently secure").config(tags = setOf(Tag.Concurrence)) {
val aggregateId = GameId()
testKoinApplicationWithConfig {
val repo = get<GameStateRepository>()

View File

@@ -102,9 +102,7 @@ class EventStreamTest :
}
}
context("publish should be concurrently secure") {
tags(Tag.Concurrence)
context("publish should be concurrently secure").config(tags = setOf(Tag.Concurrence)) {
testKoinApplicationWithConfig {
withData(eventStreams()) { stream ->
(0..9)

View File

@@ -22,9 +22,7 @@ class VersionBuilderLocalTest :
}
}
test("buildNextVersion concurrently") {
tags(Tag.Concurrence)
test("buildNextVersion concurrently").config(tags = setOf(Tag.Concurrence)) {
val versionBuilder = VersionBuilderLocal()
val id = IdTest()
(1..20)