Skip to content

Commit

Permalink
update csi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FumingZhang committed Jun 2, 2022
1 parent 4cdec7c commit 9dbc295
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4113,7 +4113,7 @@ def test_aks_create_and_update_with_csi_drivers_extensibility(self, resource_gro
self.cmd(create_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', False),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', False),
self.check('storageProfile.snapshotController.enabled', False),
])
Expand All @@ -4123,7 +4123,7 @@ def test_aks_create_and_update_with_csi_drivers_extensibility(self, resource_gro
self.cmd(update_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', False),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', False),
self.check('storageProfile.snapshotController.enabled', False),
])
Expand All @@ -4135,7 +4135,7 @@ def test_aks_create_and_update_with_csi_drivers_extensibility(self, resource_gro
self.cmd(enable_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', True),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', True),
self.check('storageProfile.snapshotController.enabled', True),
])
Expand All @@ -4145,7 +4145,7 @@ def test_aks_create_and_update_with_csi_drivers_extensibility(self, resource_gro
self.cmd(update_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', True),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', True),
self.check('storageProfile.snapshotController.enabled', True),
])
Expand All @@ -4157,7 +4157,7 @@ def test_aks_create_and_update_with_csi_drivers_extensibility(self, resource_gro
self.cmd(disable_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', False),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', False),
self.check('storageProfile.snapshotController.enabled', False),
])
Expand All @@ -4183,7 +4183,7 @@ def test_aks_create_with_standard_csi_drivers(self, resource_group, resource_gro
self.cmd(create_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', True),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', True),
self.check('storageProfile.snapshotController.enabled', True),
])
Expand All @@ -4193,7 +4193,7 @@ def test_aks_create_with_standard_csi_drivers(self, resource_group, resource_gro
self.cmd(update_cmd, checks=[
self.check('provisioningState', 'Succeeded'),
self.check('storageProfile.diskCsiDriver.enabled', True),
self.check('storageProfile.diskCsiDriver.version', None),
self.check('storageProfile.diskCsiDriver.version', "v1"),
self.check('storageProfile.fileCsiDriver.enabled', True),
self.check('storageProfile.snapshotController.enabled', True),
])
Expand Down

0 comments on commit 9dbc295

Please sign in to comment.