Skip to content

Commit 4845229

Browse files
committed
Allow up to 3 minutes for ConcurrentIT to finish
Sometimes, the default of 1 minute is not sufficient.
1 parent 505f3e0 commit 4845229

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integration-tests/src/test/kotlin/com/adobe/testing/s3mock/its/ConcurrencyIT.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ import org.assertj.core.api.Assertions.assertThat
3030
import org.junit.jupiter.api.Test
3131
import org.junit.jupiter.api.TestInfo
3232
import java.util.concurrent.atomic.AtomicInteger
33+
import kotlin.time.Duration.Companion.minutes
3334

3435
internal class ConcurrencyIT : S3TestBase() {
3536
private val s3Client: S3Client = createS3ClientKotlin()
3637

3738
@Test
3839
fun `concurrent bucket puts, gets and deletes are successful`(testInfo: TestInfo) =
39-
runTest {
40+
runTest(timeout = 3.minutes) {
4041
val bucketName = givenBucket(testInfo)
4142
val totalRequests = 1000
4243
val maxConcurrency = 20

0 commit comments

Comments
 (0)