android - espresso times out on CookieManager.getInstance().setCookie(name, value) -


i'm writing espresso test login activity sets cookies:

cookiemanager.getinstance().setcookie(name, value) 

but test hangs @ above code times out. looking setcookie code think calls native jni method.

i can't try setcookie(name, value, callback) because code needs support api level 19.

any idea why happening?

many thanks!

update: add seems happen when test run against emulator. runs without problem against real device.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -