MCPcopy Index your code
hub / github.com/scality/cloudserver / stopTcpdump

Function stopTcpdump

tests/functional/sse-kms-migration/load.js:81–90  ·  view source on GitHub ↗
(tcpdump)

Source from the content-addressed store, hash-verified

79}
80
81async function stopTcpdump(tcpdump) {
82 if (tcpdump.exitCode !== null || tcpdump.signalCode !== null) {
83 // tcpdump already closed, no need to kill it
84 return;
85 }
86 await new Promise(resolve => {
87 tcpdump.on('close', resolve);
88 tcpdump.kill('SIGTERM');
89 });
90}
91
92describe(`KMS load (kmip cluster ${KMS_NODES} nodes): ${OBJECT_NUMBER
93 } objs each in ${BUCKET_NUMBER} bkts (${TOTAL_OBJECTS} objs)`, () => {

Callers 1

load.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected