Skip to content

Commit e6fccc3

Browse files
committed
Increase waiting connection to database timeout
1 parent 94ef863 commit e6fccc3

File tree

1 file changed

+1
-1
lines changed
  • firebase-database/src/commonTest/kotlin/dev.gitlive.firebase.database

1 file changed

+1
-1
lines changed

firebase-database/src/commonTest/kotlin/dev.gitlive.firebase.database/database.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class FirebaseDatabaseTest {
7373

7474
private suspend fun awaitDatabaseConnection() {
7575
// workaround to avoid "Database not connected" exception with Firebase emulator
76-
withTimeout(5.seconds) {
76+
withTimeout(30.seconds) {
7777
Firebase.database.reference(".info/connected").valueEvents.first { it.value() }
7878
}
7979
}

0 commit comments

Comments
 (0)