Fix SigninButtonRenderTest flakiness by avoiding activity recreation [chromium/src : main]

0 views
Skip to first unread message

gwsq (Gerrit)

unread,
12:21 AM (4 hours ago) 12:21 AM
to Jenna Himawan, Chrome Signin Android Reviews, Tanmoy Mollik, Peilin Wang, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Chromium LUCI CQ, hanxi...@chromium.org, peilinwa...@google.com
Attention needed from Peilin Wang and Tanmoy Mollik

Message from gwsq

Reviewer source(s):
triplo...@chromium.org is from context(googleclient/chrome/chromium_gwsq/chrome/browser/signin/android/config.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Peilin Wang
  • Tanmoy Mollik
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie6e8fa789a7ce015d59b57ac3369deedb53b3fc3
Gerrit-Change-Number: 8031056
Gerrit-PatchSet: 4
Gerrit-Owner: Jenna Himawan <jhim...@google.com>
Gerrit-Reviewer: Jenna Himawan <jhim...@google.com>
Gerrit-Reviewer: Peilin Wang <peili...@google.com>
Gerrit-Reviewer: Tanmoy Mollik <triplo...@google.com>
Gerrit-CC: Chrome Signin Android Reviews <chrome-signin-...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Tanmoy Mollik <triplo...@google.com>
Gerrit-Attention: Peilin Wang <peili...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 04:20:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Tanmoy Mollik (Gerrit)

unread,
2:58 AM (1 hour ago) 2:58 AM
to Jenna Himawan, Chrome Signin Android Reviews, Peilin Wang, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Chromium LUCI CQ, hanxi...@chromium.org, peilinwa...@google.com
Attention needed from Jenna Himawan and Peilin Wang

Tanmoy Mollik added 1 comment

File chrome/android/javatests/src/org/chromium/chrome/browser/toolbar/signin_button/SigninButtonRenderTest.java
Line 102, Patchset 4 (Latest): ThreadUtils.runOnUiThreadBlocking(
() -> {
SigninButtonCoordinator coordinator =
mActivityTestRule
.getActivity()
.getToolbarManager()
.getTopToolbarCoordinator()
.getSigninButtonCoordinatorForTesting();
if (coordinator != null) {
coordinator.setSyncServiceForTesting(null);
}
});
Tanmoy Mollik . unresolved

I wonder if this is strictly necessary. The test is not batched so the activity should be recreated. I don't think the test suite will be bached because it depends on native.

Open in Gerrit

Related details

Attention is currently required from:
  • Jenna Himawan
  • Peilin Wang
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ie6e8fa789a7ce015d59b57ac3369deedb53b3fc3
    Gerrit-Change-Number: 8031056
    Gerrit-PatchSet: 4
    Gerrit-Owner: Jenna Himawan <jhim...@google.com>
    Gerrit-Reviewer: Jenna Himawan <jhim...@google.com>
    Gerrit-Reviewer: Peilin Wang <peili...@google.com>
    Gerrit-Reviewer: Tanmoy Mollik <triplo...@google.com>
    Gerrit-CC: Chrome Signin Android Reviews <chrome-signin-...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Jenna Himawan <jhim...@google.com>
    Gerrit-Attention: Peilin Wang <peili...@google.com>
    Gerrit-Comment-Date: Wed, 08 Jul 2026 06:58:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages