Skip to content

Commit

Permalink
Update storage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SRIKKANTH committed Sep 5, 2024
1 parent da381ba commit 85b85d2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions microsoft/testsuites/core/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,11 +653,11 @@ def _hot_add_disk_serial(

# get max data disk count for the node
assert node.capability.disk
#assert isinstance(
# assert isinstance(
# node.capability.disk.max_data_disk_count, int
#), f"actual type: {node.capability.disk.max_data_disk_count}"
#max_data_disk_count = node.capability.disk.max_data_disk_count
max_data_disk_count = 32
# ), f"actual type: {node.capability.disk.max_data_disk_count}"
# max_data_disk_count = node.capability.disk.max_data_disk_count
max_data_disk_count = 24
log.debug(f"max_data_disk_count: {max_data_disk_count}")

# get the number of data disks already added to the vm
Expand Down Expand Up @@ -749,11 +749,11 @@ def _hot_add_disk_parallel(

# get max data disk count for the node
assert node.capability.disk
#assert isinstance(
# assert isinstance(
# node.capability.disk.max_data_disk_count, int
#), f"actual type: {node.capability.disk.max_data_disk_count}"
# ), f"actual type: {node.capability.disk.max_data_disk_count}"
# max_data_disk_count = node.capability.disk.max_data_disk_count
max_data_disk_count = 32
max_data_disk_count = 24
log.debug(f"max_data_disk_count: {max_data_disk_count}")

# get the number of data disks already added to the vm
Expand Down

0 comments on commit 85b85d2

Please sign in to comment.