Closed
Bug 1902574
Opened 4 months ago
Closed 2 months ago
Intermittent mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN SetNeverTranslateSitesAction is dispatched | Wanted but not invoked:
Categories
(Fenix :: Translations, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=462311324&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GTI8-WJXRoqfo7d-ia3UWQ/runs/0/artifacts/public/logs/live_backing.log
[task 2024-06-14T02:54:24.180Z] TEST: WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN SetNeverTranslateSitesAction is dispatched
[task 2024-06-14T02:54:24.278Z] TEST-UNEXPECTED-FAIL | mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest.WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN SetNeverTranslateSitesAction is dispatched | Wanted but not invoked:
[task 2024-06-14T02:54:24.278Z] engine.getNeverTranslateSiteList(
[task 2024-06-14T02:54:24.278Z] <Capturing argument: Function1>,
[task 2024-06-14T02:54:24.278Z] <any>
[task 2024-06-14T02:54:24.278Z] );
[task 2024-06-14T02:54:24.278Z] -> at mozilla.components.browser.state.engine.middleware.TranslationsMiddlewareTest$WHEN RemoveNeverTranslateSiteAction is dispatched AND removing is unsuccessful THEN SetNeverTranslateSitesAction is dispatched$1.invokeSuspend(TranslationsMiddlewareTest.kt:879)
[task 2024-06-14T02:54:24.278Z]
[task 2024-06-14T02:54:24.278Z] However, there were exactly 2 interactions with this mock:
[task 2024-06-14T02:54:24.278Z] engine.isTranslationsEngineSupported(
[task 2024-06-14T02:54:24.278Z] (kotlin.Boolean) -> kotlin.Unit,
[task 2024-06-14T02:54:24.278Z] (kotlin.Throwable) -> kotlin.Unit
[task 2024-06-14T02:54:24.278Z] );
[task 2024-06-14T02:54:24.278Z] -> at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware.requestEngineSupport(TranslationsMiddleware.kt:254)
[task 2024-06-14T02:54:24.278Z]
[task 2024-06-14T02:54:24.278Z] engine.setNeverTranslateSpecifiedSite(
[task 2024-06-14T02:54:24.278Z] "google.com",
[task 2024-06-14T02:54:24.278Z] false,
[task 2024-06-14T02:54:24.278Z] () -> kotlin.Unit,
[task 2024-06-14T02:54:24.278Z] (kotlin.Throwable) -> kotlin.Unit
[task 2024-06-14T02:54:24.278Z] );
[task 2024-06-14T02:54:24.278Z] -> at mozilla.components.browser.state.engine.middleware.TranslationsMiddleware.removeNeverTranslateSite(TranslationsMiddleware.kt:453)
[task 2024-06-14T02:54:24.278Z]
[task 2024-06-14T02:54:24.278Z]
[task 2024-06-14T02:54:24.278Z]
[task 2024-06-14T02:54:24.278Z] TEST: WHEN TranslateExpectedAction is dispatched THEN FetchTranslationDownloadSizeAction is also dispatched
[task 2024-06-14T02:54:24.278Z] SUCCESS
[task 2024-06-14T02:54:24.278Z]
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 months ago
|
Component: General → Translations
Comment 3•2 months ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•