summaryrefslogtreecommitdiff
path: root/src/mongo/transport
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-09-27 19:08:32 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-27 23:35:27 +0000
commit6b3acc72af58963a772213cc882e34b6db5bf144 (patch)
tree1c37708f6b81afac87a0f4605261f304695cfdd5 /src/mongo/transport
parent8f7c3dd749c5f2a6c410e19e78fad96fb0bf03cb (diff)
downloadmongo-6b3acc72af58963a772213cc882e34b6db5bf144.tar.gz
SERVER-59618 add LockerNoopClientObserver and register this ClientObserver in unit tests with Service Context
Diffstat (limited to 'src/mongo/transport')
-rw-r--r--src/mongo/transport/service_state_machine_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/transport/service_state_machine_test.cpp b/src/mongo/transport/service_state_machine_test.cpp
index cae5c81e41d..3f218bf8c9b 100644
--- a/src/mongo/transport/service_state_machine_test.cpp
+++ b/src/mongo/transport/service_state_machine_test.cpp
@@ -39,9 +39,9 @@
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/db/client.h"
#include "mongo/db/client_strand.h"
+#include "mongo/db/concurrency/locker_noop_service_context_test_fixture.h"
#include "mongo/db/dbmessage.h"
#include "mongo/db/service_context.h"
-#include "mongo/db/service_context_test_fixture.h"
#include "mongo/logv2/log.h"
#include "mongo/platform/mutex.h"
#include "mongo/rpc/op_msg.h"
@@ -68,7 +68,7 @@ namespace {
* ServiceStateMachine so as to provide a deterministic way to evaluate the state machine
* implemenation.
*/
-class ServiceStateMachineTest : public ServiceContextTest {
+class ServiceStateMachineTest : public LockerNoopServiceContextTest {
/**
* This class stores and synchronizes the shared data between the test fixture and its various
* wrappers.