Skip to content

Commit

Permalink
Revert "DRIVERS-3021 Skip tests with errorCodeName on Serverless (m…
Browse files Browse the repository at this point in the history
…ongodb#1680)"

This reverts commit 5f6fd28.
  • Loading branch information
kevinAlbs committed Nov 20, 2024
1 parent 2aa82f5 commit bd1e127
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,6 @@
},
{
"description": "commit is not retried after MaxTimeMSExpired error",
"runOnRequirements": [
{
"serverless": "forbid"
}
],
"operations": [
{
"name": "failPoint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ tests:
- { _id: 1 }
-
description: commit is not retried after MaxTimeMSExpired error
runOnRequirements:
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
- serverless: forbid
operations:
- name: failPoint
object: testRunner
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "commit-writeconcernerror",
"schemaVersion": "1.4",
"schemaVersion": "1.3",
"runOnRequirements": [
{
"minServerVersion": "4.0",
Expand Down Expand Up @@ -414,11 +414,6 @@
},
{
"description": "commitTransaction is not retried after UnknownReplWriteConcern error",
"runOnRequirements": [
{
"serverless": "forbid"
}
],
"operations": [
{
"name": "failPoint",
Expand Down Expand Up @@ -551,11 +546,6 @@
},
{
"description": "commitTransaction is not retried after UnsatisfiableWriteConcern error",
"runOnRequirements": [
{
"serverless": "forbid"
}
],
"operations": [
{
"name": "failPoint",
Expand Down Expand Up @@ -688,11 +678,6 @@
},
{
"description": "commitTransaction is not retried after MaxTimeMSExpired error",
"runOnRequirements": [
{
"serverless": "forbid"
}
],
"operations": [
{
"name": "failPoint",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: commit-writeconcernerror

schemaVersion: '1.4' # For `serverless` in `runOnRequirements`
schemaVersion: '1.3'

runOnRequirements:
- minServerVersion: '4.0'
Expand Down Expand Up @@ -151,9 +151,6 @@ tests:
outcome: *outcome
-
description: commitTransaction is not retried after UnknownReplWriteConcern error
runOnRequirements:
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
- serverless: forbid
operations:
- name: failPoint
object: testRunner
Expand Down Expand Up @@ -206,9 +203,6 @@ tests:
outcome: *outcome
-
description: commitTransaction is not retried after UnsatisfiableWriteConcern error
runOnRequirements:
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
- serverless: forbid
operations:
- name: failPoint
object: testRunner
Expand All @@ -232,9 +226,6 @@ tests:
outcome: *outcome
-
description: commitTransaction is not retried after MaxTimeMSExpired error
runOnRequirements:
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
- serverless: forbid
operations:
- name: failPoint
object: testRunner
Expand Down
5 changes: 0 additions & 5 deletions source/transactions/tests/unified/retryable-commit.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions source/transactions/tests/unified/retryable-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ initialData:
tests:
-
description: 'commitTransaction fails after Interrupted'
runOnRequirements:
# Serverless sets empty `codeName` on failpoint errors. Remove once CLOUDP-280424 is fixed.
- serverless: forbid
operations:
-
object: testRunner
Expand Down

0 comments on commit bd1e127

Please sign in to comment.