Skip to content

Commit 10b578f

Browse files
committed
PHPLIB-585: Update retryable writes spec tests
Synced with mongodb/specifications@439049d Bumps ext-mongodb dependency for PHPC-1683
1 parent c7be739 commit 10b578f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cache:
2222

2323
env:
2424
global:
25-
- DRIVER_VERSION=1.8.0
25+
- DRIVER_VERSION=1.8.1
2626
- SERVER_DISTRO=enterprise-ubuntu1604
2727
- SERVER_VERSION=4.4.0
2828
- DEPLOYMENT=STANDALONE

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"php": "^7.0",
1313
"ext-hash": "*",
1414
"ext-json": "*",
15-
"ext-mongodb": "^1.8",
15+
"ext-mongodb": "^1.8.1",
1616
"jean85/pretty-package-versions": "^1.2"
1717
},
1818
"require-dev": {

tests/SpecTests/retryable-writes/insertOne-serverErrors.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,10 @@
966966
],
967967
"writeConcernError": {
968968
"code": 91,
969-
"errmsg": "Replication is being shut down"
969+
"errmsg": "Replication is being shut down",
970+
"errorLabels": [
971+
"RetryableWriteError"
972+
]
970973
}
971974
}
972975
},

0 commit comments

Comments
 (0)