Bug 1607894 - Add debugging assert to Normandy test for intermittent r=leplatrem

Differential Revision: https://phabricator.services.mozilla.com/D63936

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Michael Cooper 2020-02-25 11:15:33 +00:00
Родитель db60c34f97
Коммит b9b6d27e26
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -244,6 +244,7 @@ decorate_task(
// Will timeout if notifications were not received.
await startPromise;
await endPromise;
ok(true, "The test should pass without timing out");
}
);
@ -303,6 +304,15 @@ decorate_task(
await rsCollection.db.saveLastModified(42);
rsCollection.db.close();
let recipesFromRS = (await RecipeRunner._remoteSettingsClientForTesting.get()).map(
({ recipe, signature }) => recipe
);
Assert.deepEqual(
recipesFromRS,
[matchRecipe, noMatchRecipe, missingRecipe],
"The recipes should be accesible from Remote Settings"
);
await RecipeRunner.run();
Assert.deepEqual(