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

azurerm_hdinsight_interactive_query_cluster: Removing unsupported acc test #21981

Merged
merged 4 commits into from
Jun 6, 2023

Conversation

jiaweitao001
Copy link
Contributor

  • According to official doc, hdinsight interactive Query clusters can only be configured for schedule-based scaling, not load-based.

  • Tests are passing.

=== RUN   TestAccAzureRMHDInsightInteractiveQueryCluster_autoscale
=== PAUSE TestAccAzureRMHDInsightInteractiveQueryCluster_autoscale
=== CONT  TestAccAzureRMHDInsightInteractiveQueryCluster_autoscale
--- PASS: TestAccAzureRMHDInsightInteractiveQueryCluster_autoscale (1315.77s)
PASS

Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

Hey @jiaweitao001, it looks like what you've submitted is a breaking change and we should deprecate it for 4.0 instead

@@ -32,7 +32,7 @@ var hdInsightInteractiveQueryClusterWorkerNodeDefinition = HDInsightNodeDefiniti
CanSpecifyInstanceCount: true,
MinInstanceCount: 1,
CanSpecifyDisks: false,
CanAutoScaleByCapacity: true,
CanAutoScaleByCapacity: false,
Copy link
Member

Choose a reason for hiding this comment

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

This is a breaking change. This used to work which means some people may still have configuration built on it. We should deprecate this instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to deprecate in 4.0.

@jiaweitao001 jiaweitao001 requested a review from mbfrahry June 1, 2023 07:44
Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

This block can be removed as you're adding/modifying it down below

Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @jiaweitao001

@mbfrahry mbfrahry added this to the v3.60.0 milestone Jun 6, 2023
@mbfrahry mbfrahry merged commit 05f2cbd into hashicorp:main Jun 6, 2023
mbfrahry added a commit that referenced this pull request Jun 6, 2023
mbfrahry added a commit that referenced this pull request Jun 6, 2023
mbfrahry added a commit that referenced this pull request Jun 8, 2023
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants