How to use hot_add_disk_serial_premium_ssd method in lisa

Best Python code snippet using lisa_python

storage.py

Source:storage.py Github

copy

Full Screen

...266 """,267 timeout=TIME_OUT,268 requirement=simple_requirement(disk=DiskPremiumSSDLRS()),269 )270 def hot_add_disk_serial_premium_ssd(self, log: Logger, node: Node) -> None:271 self._hot_add_disk_serial(272 log, node, DiskType.PremiumSSDLRS, self.DEFAULT_DISK_SIZE_IN_GB273 )274 @TestCaseMetadata(275 description="""276 This test case will verify that the standard HDD data disks can277 be added in one go (parallel) while the vm is running.278 Steps:279 1. Get maximum number of data disk for the current vm_size.280 2. Get the number of data disks already added to the vm.281 3. Add maximum number of data disks to the VM in parallel.282 4. Verify that the disks are added are available in the OS.283 5. Remove the disks from the vm in parallel.284 6. Verify that the disks are removed from the OS....

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run lisa automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful