Ignore a test for flackyness

This commit is contained in:
valere 2023-05-09 11:16:58 +02:00 committed by Benoit Marty
parent a170c0b7db
commit e254f1e7da
1 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@ import org.junit.After
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
@ -90,6 +91,7 @@ class DynamicElementAndroidToElementRMigrationTest {
}
@Test
@Ignore("We don't migrate group sessions for now, and it's making this test suite unstable")
fun given_a_valid_crypto_store_realm_file_no_lazy_then_migration_should_be_successful() {
testMigrate(true)
}
@ -140,6 +142,6 @@ class DynamicElementAndroidToElementRMigrationTest {
// legacy olm sessions should have been deleted
val remainingOlmSessions = realm!!.where<OlmSessionEntity>().findAll().size
assertEquals("legacy olm sessions should have been removed from store",0, remainingOlmSessions)
assertEquals("legacy olm sessions should have been removed from store", 0, remainingOlmSessions)
}
}