tests: de-flake tests and re-enable sanitizers (#1786)

This commit is contained in:
Luca Casonato
2023-09-18 11:09:24 +02:00
committed by GitHub
parent c2a82e723e
commit 795836ed29
14 changed files with 89 additions and 185 deletions
+6 -2
View File
@@ -115,9 +115,11 @@ async function testBuild(
await browser.close();
}
} finally {
await lines.cancel();
serverProcess.kill("SIGTERM");
await serverProcess.status;
// Drain the lines stream
for await (const _ of lines) { /* noop */ }
}
});
@@ -137,9 +139,11 @@ async function testBuild(
"Restoring from snapshot message should not appear in dev mode",
);
} finally {
await lines.cancel();
serverProcess.kill("SIGTERM");
await serverProcess.status;
// Drain the lines stream
for await (const _ of lines) { /* noop */ }
}
});
} finally {