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") { 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>()

View File

@@ -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)

View File

@@ -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)