diff options
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_response_test.cpp')
-rw-r--r-- | src/mongo/s/write_ops/batched_command_response_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/write_ops/batched_command_response_test.cpp b/src/mongo/s/write_ops/batched_command_response_test.cpp index 55fc49db16f..8e3a7157f6c 100644 --- a/src/mongo/s/write_ops/batched_command_response_test.cpp +++ b/src/mongo/s/write_ops/batched_command_response_test.cpp @@ -78,8 +78,8 @@ TEST(BatchedCommandResponseTest, StaleErrorAsStaleShardVersionCompatibility) { staleInfo.serialize(&builder); BSONArray writeErrorsArray( - BSON_ARRAY(BSON("index" << 0 << "code" << ErrorCodes::StaleShardVersion << "errmsg" - << "StaleShardVersion error" + BSON_ARRAY(BSON("index" << 0 << "code" << ErrorCodes::OBSOLETE_StaleShardVersion << "errmsg" + << "OBSOLETE_StaleShardVersion error" << "errInfo" << builder.obj()) << BSON("index" << 1 << "code" << ErrorCodes::InvalidNamespace << "errmsg" << "index 1 failed too"))); |