diff --git a/lib/runner/extensions/event.command.js b/lib/runner/extensions/event.command.js index 1d3c03ec2..23dc1f9a3 100644 --- a/lib/runner/extensions/event.command.js +++ b/lib/runner/extensions/event.command.js @@ -126,6 +126,7 @@ getCookieDomain = function (fnName, args) { return domain; }; +// TODO: Find a better way to track skipped executions const skippedExecutions = new Set(), isExecutionSkipped = (executionId) => { return skippedExecutions.has(executionId); @@ -158,6 +159,9 @@ module.exports = { return done(); } + // reset previously skipped executions + skippedExecutions.clear(); + sandbox.createContext(_.merge({ timeout: _(run.options.timeout).pick(['script', 'global']).values().min(), serializeLogs: _.get(run, 'options.script.serializeLogs') diff --git a/package-lock.json b/package-lock.json index 34e8e29bf..d67472d3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6077,9 +6077,9 @@ } }, "postman-sandbox": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/postman-sandbox/-/postman-sandbox-4.2.8.tgz", - "integrity": "sha512-NDQwZVlfkx7CVEYrMnic3r7II9xm/X2+wOLddWr91WINkzCuvTNp/a741P5lB29pM+A4mBz3n26bcg5oCiR3Kw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/postman-sandbox/-/postman-sandbox-4.3.0.tgz", + "integrity": "sha512-CRfY4WbRjxWc6xKWJWMYgLHzvKudB4yz/n5Q/CyFYHIIqZ2boM3+/HoSW0uuw8r5i814lftc690doZ5vfvCnqQ==", "requires": { "lodash": "4.17.21", "postman-collection": "4.2.1", diff --git a/package.json b/package.json index 99aaed61b..6b7ae937b 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "performance-now": "2.1.0", "postman-collection": "4.2.1", "postman-request": "2.88.1-postman.33", - "postman-sandbox": "4.2.8", + "postman-sandbox": "4.3.0", "postman-url-encoder": "3.0.5", "serialised-error": "1.1.3", "strip-json-comments": "3.1.1",