mirror of
https://github.com/MinimalBible/MinimalBible-Legacy
synced 2024-11-14 12:08:51 -05:00
Allow the await() to run longer...
Forgot how slow the emulator was, this is a bit ridiculous.
This commit is contained in:
parent
ed219bc8a4
commit
ca4cff2adf
@ -53,7 +53,7 @@ public class DownloadActivityTest extends InstrumentationTestCase {
|
||||
// Need to make sure we've refreshed the refreshmanager first
|
||||
Installer i = (Installer) dm.getInstallers().values().toArray()[0];
|
||||
final Book testBook = i.getBooks().get(0);
|
||||
await().until(new Callable<Boolean>() {
|
||||
await().atMost(30, TimeUnit.SECONDS).until(new Callable<Boolean>() {
|
||||
@Override
|
||||
public Boolean call() throws Exception {
|
||||
return rm.installerFromBook(testBook) != null;
|
||||
|
Loading…
Reference in New Issue
Block a user