Skip to content

Commit

Permalink
fix: don't try to shut cassandra client down if it wasn't initialized (
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 authored Apr 11, 2022
1 parent cfb0b7a commit 80e855a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ describe('CassandraDriverInstrumentation', () => {

after(async function () {
this.timeout(60000);
await client.shutdown();
await client?.shutdown?.();
if (testCassandraLocally) {
testUtils.cleanUpDocker('cassandra');
}
Expand Down

0 comments on commit 80e855a

Please sign in to comment.