spec/integration/retryable_errors_spec.rb in mongo-2.13.0.beta1 vs spec/integration/retryable_errors_spec.rb in mongo-2.13.0.rc1
- old
+ new
@@ -104,10 +104,10 @@
failCommands: ['insert'],
errorCode: 11600,
},
}
- if ClusterConfig.instance.short_server_version >= '4.3'
+ if ClusterConfig.instance.short_server_version >= '4.4'
# Server versions 4.4 and newer will add the RetryableWriteError
# label to all retryable errors, and the driver must not add the label
# if it is not already present.
command[:data][:errorLabels] = ['RetryableWriteError']
end