diff options
Diffstat (limited to 'src/mongo/rpc')
-rw-r--r-- | src/mongo/rpc/op_msg_integration_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/rpc/op_msg_integration_test.cpp b/src/mongo/rpc/op_msg_integration_test.cpp index 40a6ee044a8..4edb0fab6f3 100644 --- a/src/mongo/rpc/op_msg_integration_test.cpp +++ b/src/mongo/rpc/op_msg_integration_test.cpp @@ -513,10 +513,8 @@ TEST(OpMsg, ServerHandlesExhaustIsMasterWithTopologyChange) { auto beforeExhaustCommand = tickSource->getTicks(); ASSERT(conn->call(request, reply)); auto afterFirstResponse = tickSource->getTicks(); - // TODO SERVER-44514: Change the following assertion to use ASSERT_LT once the server responds - // immediately on a topologyVersion with a different processId. // Allow for clock skew when testing the response time. - ASSERT_GT(tickSource->ticksTo<Milliseconds>(afterFirstResponse - beforeExhaustCommand), + ASSERT_LT(tickSource->ticksTo<Milliseconds>(afterFirstResponse - beforeExhaustCommand), Milliseconds(50)); ASSERT(OpMsg::isFlagSet(reply, OpMsg::kMoreToCome)); res = OpMsg::parse(reply).body; |