Skip to content

Commit 4b531d9

Browse files
committed
fix: do not assume not explicitly enabled by default for 7.0+
It's possible the setting can exist in the cluster we're using so we shouldn't have a test assuming it'd be undefined (and thus not show) for versions >= 7
1 parent 5615062 commit 4b531d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/shell-api/src/shard.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,6 +2530,8 @@ describe('Shard', function () {
25302530
});
25312531
describe('automerge', function () {
25322532
it('not shown if sh.status() if not explicitly enabled', async function () {
2533+
// It might be explicitly set from 7.0
2534+
skipIfServerVersion(mongos, '>= 7.0');
25332535
expect((await sh.status()).value.automerge).is.undefined;
25342536
});
25352537
describe('from 7.0', function () {

0 commit comments

Comments
 (0)