You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please choose the target release of Azure PowerShell. (⚠️Target release is a different concept from API readiness. Please click below links for details.)
@vidai-msft I have renamed it to DataTransfer. But:
I still don't see the file you mentioned. Here is the exact list of steps I went through:
docker run -it -v Z:\Repos\azure-powershell\src:/src autorest
cd DataTransfer/DataTransfer.Autorest
autorest --reset
autorest README.md
pwsh ./build-module.ps1
pwsh ./run-module.ps1
I cannot run tests now as I am facing the same error as mentioned in these two threads (thread 1, thread 2). I am not using a local swagger, and I am running this command after running all of the commands I mentioned above: pwsh ./test-module.ps1 -Live
Error for reference:
PS /src/DataTransfer/DataTransfer.Autorest [Az.DataTransfer]> pwsh ./test-module.ps1 -Live
Creating isolated process...
Installing local Pester module into '/src/DataTransfer/DataTransfer.Autorest/generated/modules'...
Get-Item: /src/DataTransfer/DataTransfer.Autorest/test-module.ps1:44
Line |
44 | … ModulePSD = Get-Item -Path (Join-Path $HOME '.PSSharedModules\Resourc …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path '/root/.PSSharedModules/Resources/Az.Resources.TestSupport.psd1' because it does not exist.
@vidai-msft Able to get around the testing failure now. Please let me know how to generate the file as I still am not able to get the commands to output it.
‼️ DO NOT MERGE THIS PR ‼️
This PR was labeled "Do Not Merge" because it contains code change that cannot be merged. Please contact the reviewer for more information.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.