Skip to content

Commit ef9b370

Browse files
committed
Disable retryWrites for non-RS sharded cluster on travis-ci
1 parent 33fb14f commit ef9b370

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
php: "7.3"
9494
env:
9595
- DEPLOYMENT=SHARDED_CLUSTER
96+
- APPEND_URI="/?retryWrites=false"
9697
- stage: Test
9798
php: "7.3"
9899
env:
@@ -134,7 +135,7 @@ before_script:
134135
- ulimit -c unlimited -S
135136

136137
script:
137-
- export MONGODB_URI=`cat /tmp/uri.txt`
138+
- export MONGODB_URI=`cat /tmp/uri.txt`$APPEND_URI
138139
- echo $MONGODB_URI
139140
- vendor/bin/phpunit -v
140141

0 commit comments

Comments
 (0)