try to make database stop being annoying
This commit is contained in:
parent
8873b5692f
commit
8f19a7f8c3
|
@ -54,6 +54,7 @@ class AppDatabaseTest {
|
||||||
@Test
|
@Test
|
||||||
fun testUtilsLRU() {
|
fun testUtilsLRU() {
|
||||||
for(i in 1..db!!.MAX_NUMBER_OF_POSTS) {
|
for(i in 1..db!!.MAX_NUMBER_OF_POSTS) {
|
||||||
|
Thread.sleep(10)
|
||||||
DatabaseUtils.insertAllPosts(db!!, PostEntity(i, i.toString(), date= Calendar.getInstance().time))
|
DatabaseUtils.insertAllPosts(db!!, PostEntity(i, i.toString(), date= Calendar.getInstance().time))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue