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

[TestFramework] Unable to set env Resource_Manager_Url in record mode #39383

Open
live1206 opened this issue Oct 19, 2023 · 0 comments
Open

[TestFramework] Unable to set env Resource_Manager_Url in record mode #39383

live1206 opened this issue Oct 19, 2023 · 0 comments
Assignees
Labels
Azure.Core.TestFramework Mgmt This issue is related to a management-plane library.

Comments

@live1206
Copy link
Member

live1206 commented Oct 19, 2023

Library name and version

test

Describe the bug

The user tried to set Resource_Manager_Url and SERVICE_MANAGEMENT_URL to record against a non-default Azure endpoint.
Test framework throws while running test on record mode.

It tries to fetch ServiceManagementUrl from recording, and it throws here because it is not allowed to fetch recording value while recording.

Expected behavior

It should not throw

Actual behavior

It throws

Reproduction Steps

Set Resource_Manager_Url to non-default endpoint and run tests in record mode.

Environment

No response

@live1206 live1206 added the Mgmt This issue is related to a management-plane library. label Oct 19, 2023
@live1206 live1206 self-assigned this Oct 19, 2023
@live1206 live1206 changed the title [TestFramework] Unable to set env Resource_Manager_Url in reacord mode [TestFramework] Unable to set env Resource_Manager_Url in record mode Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core.TestFramework Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

2 participants