We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505f3e0 commit 4845229Copy full SHA for 4845229
integration-tests/src/test/kotlin/com/adobe/testing/s3mock/its/ConcurrencyIT.kt
@@ -30,13 +30,14 @@ import org.assertj.core.api.Assertions.assertThat
30
import org.junit.jupiter.api.Test
31
import org.junit.jupiter.api.TestInfo
32
import java.util.concurrent.atomic.AtomicInteger
33
+import kotlin.time.Duration.Companion.minutes
34
35
internal class ConcurrencyIT : S3TestBase() {
36
private val s3Client: S3Client = createS3ClientKotlin()
37
38
@Test
39
fun `concurrent bucket puts, gets and deletes are successful`(testInfo: TestInfo) =
- runTest {
40
+ runTest(timeout = 3.minutes) {
41
val bucketName = givenBucket(testInfo)
42
val totalRequests = 1000
43
val maxConcurrency = 20
0 commit comments