azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

[LogicApp] - Remove hard-coded location from the test functions in scenario testing

Open pankajsn opened this issue 10 years ago • 7 comments

To use the Get-location or get-provider cmdlets to determine an available location (it's fine to prefer any specific location if available). This makes it easier to maintain the tests, and to run them against different environments.

pankajsn avatar Jun 30 '16 08:06 pankajsn

@pankajsn Hey Pankaj, did this issue get fixed in the latest release?

cormacpayne avatar Aug 11 '16 20:08 cormacpayne

@cormacpayne this issue is not fixed in the latest release.

pankajsn avatar Aug 11 '16 20:08 pankajsn

@pankajsn Please assign to the appropriate milestone

markcowl avatar Sep 12 '16 19:09 markcowl

@markcowl Fixed the mile stone for this issue.

pankajsn avatar Sep 13 '16 22:09 pankajsn

@pankajsn has this been resolved? If not, please use the Get-Location function from our common test code, which avoids using hard-coded locations

cormacpayne avatar Jan 30 '18 01:01 cormacpayne

@cormacpayne The location you linked no longer exists. (The whole common code seems to have been removed). Is there a replacement that should be used?

refortie avatar Nov 19 '18 19:11 refortie

@refortie the common code folder moved to a separate repository. Here's the new location for the Get-Location call: https://github.com/Azure/azure-powershell-common/blob/960afe561afd9a41b7d51fdaac16bf8c52ceb835/src/ScenarioTest.ResourceManager/Common.ps1#L583

cormacpayne avatar Nov 19 '18 20:11 cormacpayne