Skip to content

Commit 51ff1d8

Browse files
authored
fix(shell-api): relax sharding test expectations MONGOSH-1152 (#1227)
Relax the test expectations to account for upcoming changes in 6.0.
1 parent 6f3bff8 commit 51ff1d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,8 @@ describe('Shard', () => {
15291529
const databasesDbItem = result.value.databases.find((item) => (item.database._id === 'db'));
15301530
expect(databasesDbItem.database.partitioned).to.equal(false);
15311531
const databasesDbShItem = result.value.databases.find((item) => (item.database._id === 'dbSh'));
1532-
expect(databasesDbShItem.database.partitioned).to.equal(true);
1532+
// Cannot get strict guarantees about the value of this field since SERVER-60926
1533+
expect(databasesDbShItem.database.partitioned).to.be.a('boolean');
15331534
});
15341535
});
15351536
});

0 commit comments

Comments
 (0)