diff --git a/engine/src/androidTest/java/com/google/android/fhir/db/impl/DatabaseImplTest.kt b/engine/src/androidTest/java/com/google/android/fhir/db/impl/DatabaseImplTest.kt index 379ea97ff4..d609e2900e 100644 --- a/engine/src/androidTest/java/com/google/android/fhir/db/impl/DatabaseImplTest.kt +++ b/engine/src/androidTest/java/com/google/android/fhir/db/impl/DatabaseImplTest.kt @@ -4088,6 +4088,7 @@ class DatabaseImplTest { assertThat(searchedObservations[0].logicalId).isEqualTo(locallyCreatedObservationResourceId) } + // https://github.com/google/android-fhir/issues/2559 @Test fun getLocalChangeResourceReferences_shouldSafelyReturnReferencesAboveSQLiteInOpLimit() = runBlocking { diff --git a/engine/src/androidTest/java/com/google/android/fhir/db/impl/dao/LocalChangeDaoTest.kt b/engine/src/androidTest/java/com/google/android/fhir/db/impl/dao/LocalChangeDaoTest.kt index 357609cf25..d99c71d21d 100644 --- a/engine/src/androidTest/java/com/google/android/fhir/db/impl/dao/LocalChangeDaoTest.kt +++ b/engine/src/androidTest/java/com/google/android/fhir/db/impl/dao/LocalChangeDaoTest.kt @@ -359,6 +359,7 @@ class LocalChangeDaoTest { .isEqualTo(practitionerReference) } + // https://github.com/google/android-fhir/issues/2559 @Test fun updateResourceIdAndReferences_shouldSafelyUpdateLocalChangesReferencesAboveSQLiteInOpLimit() = runBlocking { diff --git a/engine/src/main/java/com/google/android/fhir/db/impl/dao/LocalChangeDao.kt b/engine/src/main/java/com/google/android/fhir/db/impl/dao/LocalChangeDao.kt index b1acb69af9..a078f80b65 100644 --- a/engine/src/main/java/com/google/android/fhir/db/impl/dao/LocalChangeDao.kt +++ b/engine/src/main/java/com/google/android/fhir/db/impl/dao/LocalChangeDao.kt @@ -504,7 +504,8 @@ internal abstract class LocalChangeDao { /** * Represents SQLite limit on the size of parameters that can be passed in an IN(..) query See - * https://issuetracker.google.com/issues/192284727 See https://www.sqlite.org/limits.html + * https://issuetracker.google.com/issues/192284727 See https://www.sqlite.org/limits.html See + * https://github.com/google/android-fhir/issues/2559 */ const val SQLITE_LIMIT_MAX_VARIABLE_NUMBER = 999 }