Bug 1498710: Properly wait for profile set up to complete before proceeding with the test. r=janerik

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dave Townsend 2018-10-23 08:57:28 +00:00
parent a1bf1b7266
commit 5937fc99c1

View File

@ -26,7 +26,7 @@ add_task(withDummyProfile(async (profile) => {
const CREATED_TIME = Date.now() - 2000;
const RESET_TIME = Date.now() - 1000;
CommonUtils.writeJSON({
await CommonUtils.writeJSON({
created: CREATED_TIME,
}, OS.Path.join(profile, "times.json"));
@ -69,7 +69,7 @@ add_task(withDummyProfile(async (profile) => {
add_task(withDummyProfile(async (profile) => {
const CREATED_TIME = Date.now() - 1000;
CommonUtils.writeJSON({
await CommonUtils.writeJSON({
created: CREATED_TIME,
firstUse: null,
}, OS.Path.join(profile, "times.json"));