Skip to content

Commit

Permalink
Add a pause in an attempt work around a flaky test (#24).
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Dec 15, 2024
1 parent 660b490 commit bd4298c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,12 @@ class EFUploadServiceTest {
recordForEvents: Int,
events: MutableList<EFUploadEventRecord>
) {
try {
Thread.sleep(1_000L)
} catch (e: Exception) {
Thread.currentThread().interrupt()
}

this.database.openTransaction().use { t ->
records.addAll(
t.query(EFQUploadRecordListType::class.java)
Expand Down

0 comments on commit bd4298c

Please sign in to comment.