Skip to content

Commit

Permalink
Try with non persistent settings explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Nov 17, 2023
1 parent 25fcb54 commit 9c98a1c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class FirebaseAuthTest {
)

auth = Firebase.auth(app).apply {
useEmulator(emulatorHost, 9094)
useEmulator(emulatorHost, 9099)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class FirebaseFirestoreTest {

firestore = Firebase.firestore(app).apply {
useEmulator(emulatorHost, 8080)
setSettings(FirebaseFirestore.Settings.create(cacheSettings = LocalCacheSettings.Memory(LocalCacheSettings.Memory.GarbageCollectorSettings.Eager)))
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kotlin.mpp.stability.nowarn=true
kotlin.native.enableParallelExecutionCheck=false
kotlin.setJvmTargetFromAndroidCompileOptions=true
org.gradle.jvmargs=-Xmx8G -Dfile.encoding\=UTF-8 -XX:MaxMetaspaceSize=512m -Dkotlin.daemon.jvm.options\=-Xmx8G,-XX:MaxMetaspaceSize=512m
org.gradle.parallel=false
org.gradle.parallel=true
systemProp.org.gradle.internal.publish.checksums.insecure=true
testOptions.unitTests.isIncludeAndroidResources=true
kotlin.mpp.enableCInteropCommonization=true
Expand Down
2 changes: 1 addition & 1 deletion test/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"emulators": {
"auth": {
"port": 9094
"port": 9099
},
"firestore": {
"port": 8080
Expand Down

0 comments on commit 9c98a1c

Please sign in to comment.