Skip to content

Commit

Permalink
chore: handle go daemon shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jun 5, 2024
1 parent 29a16da commit 3f481b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/integration-tests/.aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ export default {
}
},
after: async (_, before) => {
await before.libp2p.stop()
await before.goLibp2pRelay.proc.kill()
try {
await before.libp2p.stop()
await before.goLibp2pRelay.proc.kill()
} catch {
// go-libp2p daemon throws when killed
}
}
}
}
Expand Down

0 comments on commit 3f481b7

Please sign in to comment.