We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9119c69 commit 5c2fd19Copy full SHA for 5c2fd19
test/integration/crud/crud_api.test.ts
@@ -117,7 +117,7 @@ describe('CRUD API', function () {
117
if (this.currentTest) {
118
this.currentTest.skipReason = `Cannot run fail points on server version: ${this.configuration.version}`;
119
}
120
- return this.currentTest?.skip();
+ return this.skip();
121
122
123
const failPoint: FailPoint = {
@@ -132,7 +132,11 @@ describe('CRUD API', function () {
132
await client.db().admin().command(failPoint);
133
});
134
135
- afterEach(async () => {
+ afterEach(async function () {
136
+ if (semver.lt(this.configuration.version, '4.2.0')) {
137
+ return;
138
+ }
139
+
140
141
configureFailPoint: 'failCommand',
142
mode: 'off',
0 commit comments