mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(benchmark): Always print out container logs after run (#10977)
This commit is contained in:
parent
a13a4f7442
commit
c7888ef229
|
@ -105,9 +105,8 @@ async function main() {
|
||||||
console.error(error.message);
|
console.error(error.message);
|
||||||
console.error('');
|
console.error('');
|
||||||
await printContainerStatus(dockerComposeClient);
|
await printContainerStatus(dockerComposeClient);
|
||||||
console.error('');
|
|
||||||
await dumpLogs(dockerComposeClient);
|
|
||||||
} finally {
|
} finally {
|
||||||
|
await dumpLogs(dockerComposeClient);
|
||||||
await dockerComposeClient.$('down');
|
await dockerComposeClient.$('down');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,7 +117,7 @@ async function printContainerStatus(dockerComposeClient) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function dumpLogs(dockerComposeClient) {
|
async function dumpLogs(dockerComposeClient) {
|
||||||
console.error('Container logs:');
|
console.info('Container logs:');
|
||||||
await dockerComposeClient.$('logs');
|
await dockerComposeClient.$('logs');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue