Skip to content

Commit 120d46b

Browse files
committed
fix tests due to slower github actions runners
1 parent bee5612 commit 120d46b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

firebase-dataconnect/src/androidTest/kotlin/com/google/firebase/dataconnect/QueryRefIntegrationTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import io.kotest.matchers.shouldBe
3131
import io.kotest.matchers.types.shouldBeInstanceOf
3232
import io.kotest.property.Arb
3333
import io.kotest.property.arbitrary.next
34-
import kotlin.time.Duration.Companion.seconds
34+
import kotlin.time.Duration.Companion.minutes
3535
import kotlinx.coroutines.Dispatchers
3636
import kotlinx.coroutines.async
3737
import kotlinx.coroutines.test.runTest
@@ -388,7 +388,7 @@ class QueryRefIntegrationTest : DataConnectIntegrationTestBase() {
388388

389389
@Test
390390
fun executeShouldSupportMassiveConcurrency() =
391-
runTest(timeout = 60.seconds) {
391+
runTest(timeout = 5.minutes) {
392392
val latch = SuspendingCountDownLatch(25_000)
393393
val query = personSchema.getPerson(id = "foo")
394394

firebase-dataconnect/src/androidTest/kotlin/com/google/firebase/dataconnect/QuerySubscriptionIntegrationTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class QuerySubscriptionIntegrationTest : DataConnectIntegrationTestBase() {
303303
.toList()
304304

305305
assertSoftly {
306-
withClue("results.size") { results.size shouldBeInRange 1..2000 }
306+
withClue("results.size") { results.size shouldBeInRange 1..5000 }
307307
results.forEachIndexed { i, result ->
308308
withClue("results[$i]") { result.shouldHavePersonWithName("NewName") }
309309
}

0 commit comments

Comments
 (0)