Skip to content

Commit

Permalink
Add client version check (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
srknzl committed Sep 17, 2021
1 parent e07ef8d commit 0b44a79
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ configParams.forEach((cfg) => {
});

it('more than one call to shutdown returns same promise', async function () {
TestUtil.markClientVersionAtLeast(this, '5.0');
const promise1 = client.shutdown();
const promise2 = client.shutdown();
expect(promise1).to.be.eq(promise2);
Expand Down

0 comments on commit 0b44a79

Please sign in to comment.