ci: do not throw if docker container stop failed

This commit is contained in:
LongYinan 2022-10-02 11:14:52 +08:00
parent d3fc689269
commit c76be2f1e0
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -74,6 +74,10 @@ export async function createSuite(testFile, maxMemoryUsage) {
shouldAssertMemoryUsage = true
try {
await container.stop()
await container.remove()
} catch (e) {
console.error(e)
}
}