org.chromium.content.browser.input.ImeTest#testPasteLongText fails on Android Tests (dbg) |
||
Issue descriptionExample build: https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/34892 C 183.240s Main [FAIL] org.chromium.content.browser.input.ImeTest#testPasteLongText: C 183.240s Main junit.framework.AssertionFailedError: expected:<25000> but was:<16> C 183.240s Main at org.chromium.content.browser.input.ImeTest.waitAndVerifyUpdateSelection(ImeTest.java:1386) C 183.240s Main at org.chromium.content.browser.input.ImeTest.testPasteLongText(ImeTest.java:654) C 183.240s Main at java.lang.reflect.Method.invokeNative(Native Method) C 183.240s Main at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) C 183.240s Main at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) C 183.240s Main at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) C 183.240s Main at org.chromium.content_shell_apk.ContentShellTestBase.runTest(ContentShellTestBase.java:233) C 183.240s Main at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161) C 183.240s Main at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124) C 183.240s Main at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) C 183.240s Main at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) C 183.240s Main at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554) C 183.240s Main at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701) C
,
Jul 21 2016
This bug is reproducible on Nexus 9(Android 5.0). A way to reproduce it is to run ImeTest#testImePaste first, then run ImeTest#testPasteLongText.
,
Jul 21 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bd5c4f7c8cfcee76a9212c1c8ab975ea8e81c81b commit bd5c4f7c8cfcee76a9212c1c8ab975ea8e81c81b Author: yabinh <yabinh@chromium.org> Date: Thu Jul 21 07:57:15 2016 Fix flaky content.browser.input.ImeTest#testPasteLongText. ImeTest#copy() is an asynchronous method. After calling it, we should wait for the clipboard get updated. Otherwise, we may paste the text from other tests (like ImeTest#testImePaste) when we call ImeTest#paste(). Before applying this patch, the failure rate is ~12/40 . After that, it decreases to 0/1000+. BUG= 621046 Review-Url: https://codereview.chromium.org/2170753002 Cr-Commit-Position: refs/heads/master@{#406801} [modify] https://crrev.com/bd5c4f7c8cfcee76a9212c1c8ab975ea8e81c81b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
,
Aug 8 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 17 2016