Changeset 79022 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jun 6, 2019 12:39:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/tdStorageSnapshotMerging1.py
r79021 r79022 157 157 try: 158 158 oProgressCom = oMedium.resize(cbNewSize); 159 oProgress = vboxwrappers.ProgressWrapper(oProgressCom, self.oVBoxMgr, self.oVBox.oTstDrv,160 'Resize medium %s' % (oMedium.name));161 oProgress.wait(cMsTimeout = 15*60*1000); # 15 min162 oProgress.logResult();163 159 except: 164 160 reporter.logXcpt('IMedium::resize failed on %s' % (oMedium.name)); 165 161 return False; 166 162 oProgress = vboxwrappers.ProgressWrapper(oProgressCom, self.oVBoxMgr, self.oVBox.oTstDrv, 163 'Resize medium %s' % (oMedium.name)); 164 oProgress.wait(cMsTimeout = 15*60*1000); # 15 min 165 oProgress.logResult(); 167 166 return True; 168 167 … … 238 237 try: 239 238 oProgressCom = oSrcHd.cloneTo(oTgtHd, (vboxcon.MediumVariant_Standard, ), None); 240 oProgress = vboxwrappers.ProgressWrapper(oProgressCom, self.oVBoxMgr, self.oVBox.oTstDrv,241 'clone base disk %s to %s' % (oSrcHd.name, oTgtHd.name));242 oProgress.wait(cMsTimeout = 1000000);243 oProgress.logResult();244 239 except: 245 240 reporter.errorXcpt('failed to clone medium %s to %s' % (oSrcHd.name, oTgtHd.name)); 246 241 return False; 247 242 oProgress = vboxwrappers.ProgressWrapper(oProgressCom, self.oVBoxMgr, self.oVBox.oTstDrv, 243 'clone base disk %s to %s' % (oSrcHd.name, oTgtHd.name)); 244 oProgress.wait(cMsTimeout = 15*60*1000); # 15 min 245 oProgress.logResult(); 248 246 return True; 249 247 … … 260 258 else: 261 259 oProgress = oVM.delete(None); 262 oProgress.wait(cMsTimeout = 1000000);263 264 260 except: 265 261 reporter.logXcpt(); 266 262 else: 263 oProgress.wait(cMsTimeout = 15*60*1000); # 15 min 267 264 else: 268 265 try: oVM.deleteSettings();
Note:
See TracChangeset
for help on using the changeset viewer.