File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ( ) {
You can’t perform that action at this time.
0 commit comments