Skip to content

CSHARP-4378: add integration tests for Azure KMS #910

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 7 commits into from
Oct 27, 2022

Conversation

DmitryLukyanov
Copy link
Contributor

No description provided.

@DmitryLukyanov DmitryLukyanov changed the title DRIVERS-2411 add integration tests for Azure KMS CSHARP-4378: add integration tests for Azure KMS Oct 24, 2022
build.cake Outdated
items: GetFiles("./**/*.Tests.csproj"),
action: (BuildConfig buildConfig, Path testProject) =>
{
var settings = new DotNetTestSettings
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this is a good opportunity to refactor all such repeating code to
Test(string testFilter) or GetTestSettings(string testFilter)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I also thought about something like this. I will try to do it

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

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

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

LGTM (minor comment)

testProject.FullPath,
settings
);
RunTests(buildConfig, testProject);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

@@ -975,3 +772,25 @@ string[] CreateLoggers()
var consoleLogger = "console;verbosity=detailed";
return new []{ junitLogger, consoleLogger };
}

void RunTests(BuildConfig buildConfig, Path path, string filter = null)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe consider overload with component instead of filter, as in practice we use only component.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

discussed offline, we can reconsider it later

@DmitryLukyanov DmitryLukyanov merged commit 94a9346 into mongodb:master Oct 27, 2022
dnickless pushed a commit to dnickless/mongo-csharp-driver that referenced this pull request Aug 24, 2023
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.

2 participants