Commit 379404ff authored by Christian Dullweber's avatar Christian Dullweber Committed by Commit Bot

Fix flaky BrowsingDataTest²

The test is still flaky because the previous fix incorrectly ignored
"Calculating..." messages. The actual message is "Calculating…" with a
fancy ...

Bug: 909690
Change-Id: I6e5bc0546534e1ab43772e5a6c33ecfe27b92459
Reviewed-on: https://chromium-review.googlesource.com/c/1355041Reviewed-by: default avatarBoris Sazonov <bsazonov@chromium.org>
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612167}
parent 1b44ef4b
......@@ -67,7 +67,7 @@ public class BrowsingDataTest {
BrowsingDataCounterBridge[] counter = {null};
CallbackHelper helper = new CallbackHelper();
BrowsingDataCounterBridge.BrowsingDataCounterCallback callback = (result) -> {
if (result.equals("Calculating...")) return;
if (result.equals("Calculating")) return;
out[0] = result;
helper.notifyCalled();
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment