Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unskip tests on serverless #4332

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@


git clone [email protected]:mongodb-labs/drivers-evergreen-tools.git

cd drivers-evergreen-tools
export NODE_LTS_VERSION=16
export npm_global_prefix=$(pwd)
export NODE_ARTIFACTS_PATH=$(pwd)/node-artifacts

bash install-node.sh
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 test/spec/transactions/unified/retryable-commit.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@
"tests": [
{
"description": "commitTransaction fails after Interrupted",
"runOnRequirements": [
{
"serverless": "forbid"
}
],
"operations": [
{
"object": "testRunner",
Expand Down
3 changes: 0 additions & 3 deletions test/spec/transactions/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