Skip to content

Commit

Permalink
use a bigger delay
Browse files Browse the repository at this point in the history
  • Loading branch information
angryziber committed May 22, 2024
1 parent bcfee24 commit 8416bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/test/CacheTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CacheTest {
expect(cache.isEmpty()).toEqual(true)

expect(cache.getOrSet("key") { data }).toBeTheInstance(data)
runTest { expect(cache.getOrSet("key") { delay(11); data }).toBeTheInstance(data) }
runTest { expect(cache.getOrSet("key") { delay(20); data }).toBeTheInstance(data) }
expect(cache["key"]).toBeTheInstance(data)
}}

Expand Down

0 comments on commit 8416bc3

Please sign in to comment.