зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
db60c34f97
Коммит
b9b6d27e26
|
@ -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(
|
||||
|
|
Загрузка…
Ссылка в новой задаче