Fix linting error.

This commit is contained in:
Michael Kaye 2022-05-13 16:19:55 +01:00
parent fa26e2a23e
commit 4ced6ca179

View File

@ -380,7 +380,7 @@ class CommonTestHelper(context: Context) {
fun await(latch: CountDownLatch, timeout: Long? = TestConstants.timeOutMillis) {
assertTrue(
"Timed out after " + timeout + "ms waiting for something to happen. See stacktrace for cause.",
latch.await( timeout ?: TestConstants.timeOutMillis, TimeUnit.MILLISECONDS)
latch.await(timeout ?: TestConstants.timeOutMillis, TimeUnit.MILLISECONDS)
)
}