github is being weird

This commit is contained in:
Matthieu 2020-04-03 07:23:08 +02:00
parent 8f19a7f8c3
commit cad875a065
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class AppDatabaseTest {
@Test
fun testUtilsLRU() {
for(i in 1..db!!.MAX_NUMBER_OF_POSTS) {
//sleep a bit to not have the weird concurrency bugs?
Thread.sleep(10)
DatabaseUtils.insertAllPosts(db!!, PostEntity(i, i.toString(), date= Calendar.getInstance().time))
}