try to make database stop being annoying

This commit is contained in:
Matthieu 2020-04-02 22:41:31 +02:00
parent 8873b5692f
commit 8f19a7f8c3
1 changed files with 1 additions and 0 deletions

View File

@ -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))
} }