tests: de-flake tests and re-enable sanitizers (#1786)
This commit is contained in:
+6
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user