()
| 880 | metadata: { requires: { topology: '!single' } }, |
| 881 | test: async function () { |
| 882 | const read = async () => { |
| 883 | await changeStream.next(); |
| 884 | await changeStream.next(); |
| 885 | |
| 886 | const write = lastWrite(); |
| 887 | |
| 888 | const nextP = changeStream.next(); |
| 889 | nextP.catch(() => null); |
| 890 | |
| 891 | await changeStream.close(); |
| 892 | |
| 893 | await write; |
| 894 | await nextP; |
| 895 | }; |
| 896 | |
| 897 | const error = await Promise.all([read(), write()]).then( |
| 898 | () => null, |
no test coverage detected