commit | 06751e663fbfc86be81fac4c556737b8135e7c57 | [log] [tgz] |
---|---|---|
author | clarafok <clarafok@google.com> | Fri May 13 10:34:37 2022 -0700 |
committer | clarafok <clarafok@google.com> | Fri May 13 10:34:37 2022 -0700 |
tree | 3af1b94f2dd318d62fd06ebfa63a44c55924d597 | |
parent | cce233b210e9fc5e06c401851d6054bf351d9e0a [diff] |
Remove delays in RxPagingSourceTest the delay checks are not guaranteed and not really necessary Test: ./gradlew room:integration-tests:room-testapp-kotlin:cC Change-Id: Ie56a20e16d0408b6a40dab7bcd306f74fb2f1a35
diff --git a/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/Rx3PagingSourceTest.kt b/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/Rx3PagingSourceTest.kt index 507857a..ba13ecdb 100644 --- a/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/Rx3PagingSourceTest.kt +++ b/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/Rx3PagingSourceTest.kt
@@ -127,9 +127,6 @@ assertTrue(isDisposed) assertFalse(pagingSource.invalid) // paging source should still be valid though - - // give it some time for the delayed load to "complete". Should throw if load succeeded. - delay(600) } } @@ -180,9 +177,6 @@ assertTrue(isDisposed) assertFalse(pagingSource.invalid) // paging source should still be valid though - - // give some time for the delayed load to "complete". Should throw if it succeeded. - delay(600) } } @@ -233,9 +227,6 @@ assertTrue(isDisposed) assertFalse(pagingSource.invalid) // paging source should still be valid though - - // give some time for the delayed load to "complete". Should throw if it succeeded. - delay(600) } }