Skip to content

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
@larrytamnjong larrytamnjong deleted the create-admin-partition branch October 25, 2024 09:41
@larrytamnjong larrytamnjong restored the create-admin-partition branch October 28, 2024 07:53
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