Skip to content

CSHARP-4361: Add log messages to CMAP spec #949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 18, 2022

Conversation

BorisDog
Copy link
Contributor

No description provided.

@BorisDog BorisDog requested a review from JamesKovacs November 14, 2022 23:06
@JamesKovacs JamesKovacs requested review from DmitryLukyanov and removed request for JamesKovacs November 15, 2022 00:16
Copy link
Contributor

@DmitryLukyanov DmitryLukyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments and then LGTM

@@ -68,7 +68,7 @@
</ItemGroup>

<ItemGroup>
<EmbeddedResource LinkBase="Specifications\connection-monitoring-and-pooling" Include="..\..\specifications\connection-monitoring-and-pooling\**\*.json" />
<EmbeddedResource LinkBase="Specifications\connection-monitoring-and-pooling\tests\cmap-format" Include="..\..\specifications\connection-monitoring-and-pooling\tests\cmap-format\*.json" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: why didn't you use **?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just need to include the cmap-format folder. Logging folder is included in Driver.Tests.

public class CmapUnifiedTestRunner : LoggableTestClass
{
private static readonly HashSet<string> __ignoredLogsMessages = new HashSet<string>(new[]
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think expected formatting here:

private static readonly HashSet<string> __ignoredLogsMessages = new HashSet<string>(
     new[]
     {
           ..
     }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Contributor

@DmitryLukyanov DmitryLukyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BorisDog BorisDog merged commit 3566ab1 into mongodb:master Nov 18, 2022
dnickless pushed a commit to dnickless/mongo-csharp-driver that referenced this pull request Aug 24, 2023
* CSHARP-4361: Add log messages to CMAP spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants