mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2025-02-06 02:13:32 +01:00
github is being weird
This commit is contained in:
parent
8f19a7f8c3
commit
cad875a065
@ -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) {
|
||||||
|
//sleep a bit to not have the weird concurrency bugs?
|
||||||
Thread.sleep(10)
|
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…
x
Reference in New Issue
Block a user