mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
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:
parent
a1bf1b7266
commit
5937fc99c1
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user