smoke tests - try to fix data migration test (#129279)

This commit is contained in:
Benjamin Pasero
2021-08-05 07:56:51 +02:00
parent cbdb18da38
commit 70e6d3f85d
2 changed files with 13 additions and 6 deletions

View File

@@ -56,3 +56,11 @@ export function afterSuite(opts: minimist.ParsedArgs) {
}
});
}
export function timeout(i: number) {
return new Promise<void>(resolve => {
setTimeout(() => {
resolve();
}, i);
});
}