Skip to content

mgmt test, add BuildManager with defaultPollInterval and prepare release azure-resourcemanager-test#49309

Open
XiaofeiCao wants to merge 1 commit into
mainfrom
mgmt_test_poll_interval
Open

mgmt test, add BuildManager with defaultPollInterval and prepare release azure-resourcemanager-test#49309
XiaofeiCao wants to merge 1 commit into
mainfrom
mgmt_test_poll_interval

Conversation

@XiaofeiCao
Copy link
Copy Markdown
Contributor

@XiaofeiCao XiaofeiCao commented May 29, 2026

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label May 29, 2026
@XiaofeiCao XiaofeiCao marked this pull request as ready for review June 1, 2026 04:05
Copilot AI review requested due to automatic review settings June 1, 2026 04:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new buildManager(Class, HttpPipeline, AzureProfile, Duration) overload to ResourceManagerTestProxyTestBase so ARM tests for "Lite"/generated packages can construct managers with a defaultPollInterval, reusing the already-built test HttpPipeline. Also dates and trims the 2.0.0-beta.3 CHANGELOG entry to prepare the release of azure-resourcemanager-test.

Changes:

  • New reflective buildManager overload accepting a Duration defaultPollInterval for managers whose private constructor is (HttpPipeline, AzureProfile, Duration).
  • CHANGELOG update: set release date 2026-06-01, remove empty sections, and document the new overload under Features Added.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
sdk/resourcemanager/azure-resourcemanager-test/src/main/java/com/azure/resourcemanager/test/ResourceManagerTestProxyTestBase.java Adds reflective buildManager overload that locates and invokes the (HttpPipeline, AzureProfile, Duration) constructor on generated/Lite manager classes.
sdk/resourcemanager/azure-resourcemanager-test/CHANGELOG.md Stamps 2.0.0-beta.3 with release date, drops empty subsections, and adds a Features Added entry describing the new helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mgmt test base, add buildManager(httppipeline, profile, pollInterval) override

2 participants