Skip to content

Commit 5227d00

Browse files
author
Oleksandr Poliakov
committed
fix tests
1 parent 26d617a commit 5227d00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MongoDB.Driver/Core/WireProtocol/CommandUsingCommandMessageWireProtocol.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,10 @@ private Type0CommandMessageSection<BsonDocument> CreateType0Section(OperationCon
380380
if (serverTimeout != Timeout.InfiniteTimeSpan)
381381
{
382382
serverTimeout -= _roundTripTime;
383-
}
384383

385-
var serverTimeoutMs = MaxTimeHelper.ToMaxTimeMS(serverTimeout);
386-
AddIfNotAlreadyAdded("maxTimeMS", serverTimeoutMs);
384+
var serverTimeoutMs = MaxTimeHelper.ToMaxTimeMS(serverTimeout);
385+
AddIfNotAlreadyAdded("maxTimeMS", serverTimeoutMs);
386+
}
387387
}
388388

389389
var elementAppendingSerializer = new ElementAppendingSerializer<BsonDocument>(BsonDocumentSerializer.Instance, extraElements);

0 commit comments

Comments
 (0)