Skip to content

Commit aa894ef

Browse files
committed
fix
1 parent b0ca393 commit aa894ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16387,14 +16387,14 @@ def test_aks_bastion(self, resource_group, resource_group_location):
1638716387
self.cmd(create_subnet_cmd, checks=[self.check("provisioningState", "Succeeded")])
1638816388

1638916389
create_pip_cmd = f"network public-ip create -g {nrg} -n aks-bastion-pip --sku Standard"
16390-
self.cmd(create_pip_cmd, checks=[self.check("provisioningState", "Succeeded")])
16390+
self.cmd(create_pip_cmd)
1639116391

1639216392
subprocess.run(["az", "extension", "add", "--name", "bastion", "--yes"], check=True)
1639316393

1639416394
create_bastion_cmd = f"network bastion create -g {nrg} -n aks-bastion " \
1639516395
f"--public-ip-address aks-bastion-pip " \
1639616396
f"--vnet-name {vnet_name} --enable-tunneling"
16397-
self.cmd(create_bastion_cmd)
16397+
self.cmd(create_bastion_cmd, checks=[self.check("provisioningState", "Succeeded")])
1639816398

1639916399
kubectl_path = "kubectl"
1640016400
if not self._verify_kubectl_installation():

0 commit comments

Comments
 (0)