Skip to content

Commit fc3c7f9

Browse files
authored
chore(shell-api): account for renamed queryShape in integration test COMPASS-8319 (#2180)
1 parent 64be13d commit fc3c7f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2607,14 +2607,14 @@ describe('Shell API (integration)', function () {
26072607
it('lists projection with args', async function () {
26082608
await loadQueryCache(collection);
26092609
const planCache = collection.getPlanCache();
2610-
const res = await planCache.list([{ $project: { queryHash: 1 } }]);
2610+
const res = await planCache.list([{ $project: { planCacheKey: 1 } }]);
26112611
// The 6.0 server greatly reduces the expectations we can make here,
26122612
// so just assert that query hashes are returned.
26132613
expect(res).to.have.lengthOf.at.least(2);
26142614
expect(res).to.have.lengthOf.at.most(4);
26152615
expect([
26162616
...new Set(res.map((doc) => JSON.stringify(Object.keys(doc)))),
2617-
]).to.deep.equal(['["queryHash"]']);
2617+
]).to.deep.equal(['["planCacheKey"]']);
26182618
});
26192619
});
26202620
describe('clear', function () {

0 commit comments

Comments
 (0)