New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 639127 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 628964
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

testInputTextEvents_SetComposingText somewhat flaky

Project Member Reported by donnd@chromium.org, Aug 18 2016

Issue description

Looks like testInputTextEvents_SetComposingText is somewhat flaky:https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=org.chromium.content.browser.input.ImeTest%23testInputTextEvents_SetComposingText&testType=content_shell_test_apk

I saw this failure today on https://build.chromium.org/p/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/4484

C  297.354s Main  [FAIL] org.chromium.content.browser.input.ImeTest#testInputTextEvents_SetComposingText:
C  297.354s Main  junit.framework.ComparisonFailure: expected:<...a),input,keyup(229),[compositionupdate(a),input,compositionend(a),selectionchange,selectionchange],selectionchange,sel...> but was:<...a),input,keyup(229),[selectionchange,selectionchange,compositionupdate(a),input,compositionend(a)],selectionchange,sel...>
C  297.354s Main  	at org.chromium.content.browser.input.ImeTest.waitForEventLogs(ImeTest.java:1264)
C  297.354s Main  	at org.chromium.content.browser.input.ImeTest.testInputTextEvents_SetComposingText(ImeTest.java:1179)
C  297.354s Main  	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
C  297.354s Main  	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
C  297.354s Main  	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
C  297.354s Main  	at org.chromium.content_shell_apk.ContentShellTestBase.runTest(ContentShellTestBase.java:233)
C  297.354s Main  	at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161)
C  297.355s Main  	at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124)
C  297.355s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
C  297.355s Main  	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
C  297.355s Main  	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
C  297.355s Main  	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853)

Changwan, guessing you can help triage or route this appropriately. Do you have any idea what might be causing these flakes?  We saw an increase in flakyness in Contextual Search instrumentation tests about a week ago when the startup timing was shortened ( issue 635661 ).  That might be affecting this test too (wild guess).
 
Cc: aelias@chromium.org changwan@chromium.org
Labels: -Pri-3 Pri-2
Owner: yabinh@chromium.org
Status: Assigned (was: Unconfirmed)
yabinh@, could you take a look?

Comment 2 by yabinh@chromium.org, Aug 19 2016

Mergedinto: 628964
Status: Duplicate (was: Assigned)
The order of selectionchange event is not correct. ImeTest#testInputTextEvents_DeleteSurroundingText is also flaky for the same reason.

Sign in to add a comment