summaryrefslogtreecommitdiff
path: root/src/mongo/db/serverless
diff options
context:
space:
mode:
authorMatt Broadstone <mbroadst@mongodb.com>2022-09-11 23:55:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-12 00:26:12 +0000
commit4b4bd602ca8877788434665a5ac2b98fa2892d5c (patch)
tree18099d643521e40718f0da5883ff62ce1917ab32 /src/mongo/db/serverless
parent3cad68e7f4f687dc2f199622025998b7a4e4eff3 (diff)
downloadmongo-4b4bd602ca8877788434665a5ac2b98fa2892d5c.tar.gz
SERVER-69227 Reenable shard split performance test with improvements
Diffstat (limited to 'src/mongo/db/serverless')
-rw-r--r--src/mongo/db/serverless/shard_split_donor_service_test.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mongo/db/serverless/shard_split_donor_service_test.cpp b/src/mongo/db/serverless/shard_split_donor_service_test.cpp
index 2ed287d01ce..743f64669c8 100644
--- a/src/mongo/db/serverless/shard_split_donor_service_test.cpp
+++ b/src/mongo/db/serverless/shard_split_donor_service_test.cpp
@@ -524,29 +524,6 @@ TEST_F(ShardSplitDonorServiceTest, BasicShardSplitDonorServiceInstanceCreation)
ASSERT_TRUE(serviceInstance->isGarbageCollectable());
}
-// TODO(SERVER-69227): Re-enable this test when we are no longer retrying replSetStepUp.
-// TEST_F(ShardSplitDonorServiceTest, ReplSetStepUpFails) {
-// auto opCtx = makeOperationContext();
-// test::shard_split::ScopedTenantAccessBlocker scopedTenants(_tenantIds, opCtx.get());
-// test::shard_split::reconfigToAddRecipientNodes(
-// getServiceContext(), _recipientTagName, _replSet.getHosts(), _recipientSet.getHosts());
-// mockCommandReplies(&_recipientSet);
-// _skipAcceptanceFP.reset();
-
-// auto serviceInstance = ShardSplitDonorService::DonorStateMachine::getOrCreate(
-// opCtx.get(), _service, defaultStateDocument().toBSON());
-// ASSERT(serviceInstance.get());
-// ASSERT_EQ(_uuid, serviceInstance->getId());
-
-// waitForMonitorAndProcessHello();
-// waitForReplSetStepUp(Status(ErrorCodes::OperationFailed, ""));
-// // No need to wait for recipient majority no-op write, since the stepup failed.
-
-// auto result = serviceInstance->decisionFuture().get();
-// ASSERT(result.abortReason);
-// ASSERT_EQ(result.state, mongo::ShardSplitDonorStateEnum::kAborted);
-// }
-
TEST_F(ShardSplitDonorServiceTest, ReplSetStepUpRetryable) {
auto opCtx = makeOperationContext();
test::shard_split::ScopedTenantAccessBlocker scopedTenants(_tenantIds, opCtx.get());