Skip to content
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

add admin partition create API support (#379) #380

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

larrytamnjong
Copy link
Contributor

No description provided.

@larrytamnjong larrytamnjong marked this pull request as ready for review October 21, 2024 08:50
@larrytamnjong
Copy link
Contributor Author

@marcin-krystianc

Copy link
Contributor

@marcin-krystianc marcin-krystianc left a comment

Choose a reason for hiding this comment

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

These changes look good, but because we are unable to test it I think we should park these PR for now. If it will be possible to run enterprise tests for versions newer than 1.10, we will get back to it.

[EnterpriseOnlyFact]
public async Task AdminPartition_CreateAdminPartition()
{
var cutOffVersion = SemanticVersion.Parse("1.11.0");
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunately, as for now we will not be able to run enterprise tests for versions 1.10+, so these test is going to be skipped, e.g.:

[xUnit.net 00:00:20.03]     Consul.Test.AdminPartitionTest.AdminPartition_CreateAdminPartition [SKIP]
[xUnit.net 00:00:20.03]       Skipped; this test requires a consul enterprise server to run.

We run enterprise tests only for versions before 1.10 -> https://github.com/G-Research/consuldotnet/blob/master/.github/workflows/ci.yml#L82-L88

I'm afraid we will not be able accept this PR because we are unable to test it at the moment.

Copy link
Contributor Author

@larrytamnjong larrytamnjong Oct 22, 2024

Choose a reason for hiding this comment

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

@marcin-krystianc makes sense, thanks. Please take a look at this other PR #382 when you have time.

@marcin-krystianc marcin-krystianc marked this pull request as draft October 22, 2024 08:31
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