mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Ignore a test for flackyness
This commit is contained in:
parent
a170c0b7db
commit
e254f1e7da
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@ import org.junit.After
|
||||||
import org.junit.Assert.assertNotNull
|
import org.junit.Assert.assertNotNull
|
||||||
import org.junit.Assert.assertTrue
|
import org.junit.Assert.assertTrue
|
||||||
import org.junit.Before
|
import org.junit.Before
|
||||||
|
import org.junit.Ignore
|
||||||
import org.junit.Rule
|
import org.junit.Rule
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import org.junit.runner.RunWith
|
import org.junit.runner.RunWith
|
||||||
|
@ -90,6 +91,7 @@ class DynamicElementAndroidToElementRMigrationTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@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() {
|
fun given_a_valid_crypto_store_realm_file_no_lazy_then_migration_should_be_successful() {
|
||||||
testMigrate(true)
|
testMigrate(true)
|
||||||
}
|
}
|
||||||
|
@ -140,6 +142,6 @@ class DynamicElementAndroidToElementRMigrationTest {
|
||||||
|
|
||||||
// legacy olm sessions should have been deleted
|
// legacy olm sessions should have been deleted
|
||||||
val remainingOlmSessions = realm!!.where<OlmSessionEntity>().findAll().size
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue