From e8ac5585068e8fe897cb302f44a8e64b7fa201cc Mon Sep 17 00:00:00 2001 From: Eric Adum Date: Mon, 8 Feb 2021 12:47:27 -0500 Subject: [PATCH] test: restrict destroy test to versions of node that support it (#2728) NODE-3065 --- test/functional/gridfs_stream.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/gridfs_stream.test.js b/test/functional/gridfs_stream.test.js index 635d137955..0db9d3e6a6 100644 --- a/test/functional/gridfs_stream.test.js +++ b/test/functional/gridfs_stream.test.js @@ -100,7 +100,7 @@ describe('GridFS Stream', function() { }); it('destroy publishes provided error', { - metadata: { requires: { topology: ['single'] } }, + metadata: { requires: { topology: ['single'], node: '>=8' } }, test: function(done) { var configuration = this.configuration; var GridFSBucket = configuration.require.GridFSBucket;