diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2020-11-25 04:35:02 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-25 21:19:05 +0000 |
commit | a194505325087b1e841fdee55c51312a042ce9d2 (patch) | |
tree | 601db1cc752d8eb48aee305641b16c2328edf3e5 /src/mongo/s/sharding_test_fixture_common.h | |
parent | d1b4d16214fa2ea17e3b741f582067a0d5ec1f95 (diff) | |
download | mongo-a194505325087b1e841fdee55c51312a042ce9d2.tar.gz |
SERVER-51809 Change inheritance order for ReshardingRecipientServiceTest
Diffstat (limited to 'src/mongo/s/sharding_test_fixture_common.h')
-rw-r--r-- | src/mongo/s/sharding_test_fixture_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/sharding_test_fixture_common.h b/src/mongo/s/sharding_test_fixture_common.h index 52377d7fbc5..b5df4c66ef0 100644 --- a/src/mongo/s/sharding_test_fixture_common.h +++ b/src/mongo/s/sharding_test_fixture_common.h @@ -61,7 +61,13 @@ protected: ShardingTestFixtureCommon(); ~ShardingTestFixtureCommon(); + void setUp() override; + + void tearDown() override; + OperationContext* operationContext() const { + invariant(_opCtxHolder, + "ShardingTestFixtureCommon::setUp() must have been called before this method"); return _opCtxHolder.get(); } |