Skip to content

Support Live Only Test Cases #789

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

Closed
dingmeng-xue opened this issue Jun 15, 2021 · 1 comment
Closed

Support Live Only Test Cases #789

dingmeng-xue opened this issue Jun 15, 2021 · 1 comment

Comments

@dingmeng-xue
Copy link
Member

Because of some limitations, some test cases can only run in live mode. As we could see from following example, when ‘liveOnly’ tag is specified, the test will only be executed in live mode.

Describe 'New-AzDatabricksVNetPeering' -Tag 'liveOnly' {
    It 'CreateExpanded' {
        $ventPeering = New-AzDatabricksVNetPeering -Name $env.vnetpeeringname01 -WorkspaceName $env.testWorkspace2 -ResourceGroupName $env.resourceGroup -RemoteVirtualNetworkId $env.virtualNetwork
        $ventPeering.ProvisioningState | Should -Be 'Updating'
    }
}
@dolauli
Copy link
Contributor

dolauli commented Jun 30, 2021

p1

@dolauli dolauli added the P1 label Jun 30, 2021
dolauli added a commit to dolauli/autorest.powershell that referenced this issue Aug 6, 2021
dolauli added a commit to dolauli/autorest.powershell that referenced this issue Aug 6, 2021
dolauli added a commit that referenced this issue Aug 6, 2021
@dolauli dolauli closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants