Bug 817339 - Increase isBookmark wait in rc testBookmark; r=wesj

This commit is contained in:
Geoff Brown 2013-07-10 20:09:29 -07:00
parent 1a22e78be8
commit ba0fc99da7

View File

@ -108,13 +108,13 @@ public class testBookmark extends PixelTest {
try {
return isBookmarked == (Boolean)mIsBookmarked.invoke(null, getActivity().getContentResolver(), BOOKMARK_URL);
} catch(java.lang.IllegalAccessException ex) {
mAsserter.is(true, false, "Can not call addBookmark");
mAsserter.is(true, false, "Can not call isBookmarked");
} catch(java.lang.reflect.InvocationTargetException ex) {
mAsserter.is(true, false, "Error calling addBookmark");
mAsserter.is(true, false, "Error calling isBookmarked");
}
return false;
}
}, MAX_WAIT_MS);
}, 10000);
try {
Boolean res = (Boolean)mIsBookmarked.invoke(null, getActivity().getContentResolver(), BOOKMARK_URL);
return res.booleanValue();