Skip to content

Commit 2603222

Browse files
authored
PYTHON-4926 - Skip tests with errorCodeName on Serverless (mongodb#1989)
1 parent 9f53f29 commit 2603222

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

test/transactions-convenient-api/unified/commit-retry.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,11 @@
422422
},
423423
{
424424
"description": "commit is not retried after MaxTimeMSExpired error",
425+
"runOnRequirements": [
426+
{
427+
"serverless": "forbid"
428+
}
429+
],
425430
"operations": [
426431
{
427432
"name": "failPoint",

test/transactions-convenient-api/unified/commit-writeconcernerror.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"description": "commit-writeconcernerror",
3-
"schemaVersion": "1.3",
3+
"schemaVersion": "1.4",
44
"runOnRequirements": [
55
{
66
"minServerVersion": "4.0",
@@ -414,6 +414,11 @@
414414
},
415415
{
416416
"description": "commitTransaction is not retried after UnknownReplWriteConcern error",
417+
"runOnRequirements": [
418+
{
419+
"serverless": "forbid"
420+
}
421+
],
417422
"operations": [
418423
{
419424
"name": "failPoint",
@@ -546,6 +551,11 @@
546551
},
547552
{
548553
"description": "commitTransaction is not retried after UnsatisfiableWriteConcern error",
554+
"runOnRequirements": [
555+
{
556+
"serverless": "forbid"
557+
}
558+
],
549559
"operations": [
550560
{
551561
"name": "failPoint",
@@ -678,6 +688,11 @@
678688
},
679689
{
680690
"description": "commitTransaction is not retried after MaxTimeMSExpired error",
691+
"runOnRequirements": [
692+
{
693+
"serverless": "forbid"
694+
}
695+
],
681696
"operations": [
682697
{
683698
"name": "failPoint",

test/transactions/unified/retryable-commit.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@
8989
"tests": [
9090
{
9191
"description": "commitTransaction fails after Interrupted",
92+
"runOnRequirements": [
93+
{
94+
"serverless": "forbid"
95+
}
96+
],
9297
"operations": [
9398
{
9499
"object": "testRunner",

0 commit comments

Comments
 (0)