Skip to content

Commit da04aff

Browse files
authored
DRIVERS-3022 Unskip tests with errorCodeName on Serverless (#1734)
1 parent 2aa82f5 commit da04aff

File tree

6 files changed

+2
-42
lines changed

6 files changed

+2
-42
lines changed

source/transactions-convenient-api/tests/unified/commit-retry.json

-5
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,6 @@
422422
},
423423
{
424424
"description": "commit is not retried after MaxTimeMSExpired error",
425-
"runOnRequirements": [
426-
{
427-
"serverless": "forbid"
428-
}
429-
],
430425
"operations": [
431426
{
432427
"name": "failPoint",

source/transactions-convenient-api/tests/unified/commit-retry.yml

-3
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ tests:
212212
- { _id: 1 }
213213
-
214214
description: commit is not retried after MaxTimeMSExpired error
215-
runOnRequirements:
216-
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
217-
- serverless: forbid
218215
operations:
219216
- name: failPoint
220217
object: testRunner

source/transactions-convenient-api/tests/unified/commit-writeconcernerror.json

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"description": "commit-writeconcernerror",
3-
"schemaVersion": "1.4",
3+
"schemaVersion": "1.3",
44
"runOnRequirements": [
55
{
66
"minServerVersion": "4.0",
@@ -414,11 +414,6 @@
414414
},
415415
{
416416
"description": "commitTransaction is not retried after UnknownReplWriteConcern error",
417-
"runOnRequirements": [
418-
{
419-
"serverless": "forbid"
420-
}
421-
],
422417
"operations": [
423418
{
424419
"name": "failPoint",
@@ -551,11 +546,6 @@
551546
},
552547
{
553548
"description": "commitTransaction is not retried after UnsatisfiableWriteConcern error",
554-
"runOnRequirements": [
555-
{
556-
"serverless": "forbid"
557-
}
558-
],
559549
"operations": [
560550
{
561551
"name": "failPoint",
@@ -688,11 +678,6 @@
688678
},
689679
{
690680
"description": "commitTransaction is not retried after MaxTimeMSExpired error",
691-
"runOnRequirements": [
692-
{
693-
"serverless": "forbid"
694-
}
695-
],
696681
"operations": [
697682
{
698683
"name": "failPoint",

source/transactions-convenient-api/tests/unified/commit-writeconcernerror.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: commit-writeconcernerror
22

3-
schemaVersion: '1.4' # For `serverless` in `runOnRequirements`
3+
schemaVersion: '1.3'
44

55
runOnRequirements:
66
- minServerVersion: '4.0'
@@ -151,9 +151,6 @@ tests:
151151
outcome: *outcome
152152
-
153153
description: commitTransaction is not retried after UnknownReplWriteConcern error
154-
runOnRequirements:
155-
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
156-
- serverless: forbid
157154
operations:
158155
- name: failPoint
159156
object: testRunner
@@ -206,9 +203,6 @@ tests:
206203
outcome: *outcome
207204
-
208205
description: commitTransaction is not retried after UnsatisfiableWriteConcern error
209-
runOnRequirements:
210-
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
211-
- serverless: forbid
212206
operations:
213207
- name: failPoint
214208
object: testRunner
@@ -232,9 +226,6 @@ tests:
232226
outcome: *outcome
233227
-
234228
description: commitTransaction is not retried after MaxTimeMSExpired error
235-
runOnRequirements:
236-
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
237-
- serverless: forbid
238229
operations:
239230
- name: failPoint
240231
object: testRunner

source/transactions/tests/unified/retryable-commit.json

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/transactions/tests/unified/retryable-commit.yml

-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ initialData:
6767
tests:
6868
-
6969
description: 'commitTransaction fails after Interrupted'
70-
runOnRequirements:
71-
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
72-
- serverless: forbid
7370
operations:
7471
-
7572
object: testRunner

0 commit comments

Comments
 (0)