Changeset 98826 in vbox for trunk/src/VBox/ValidationKit/tests/api/tdTreeDepth1.py
- Timestamp:
- Mar 3, 2023 10:53:30 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/api/tdTreeDepth1.py
r98651 r98826 142 142 else: 143 143 oVM = oVBox.openMachine(sSettingsFile) 144 oVBox.registerMachine(oVM); 144 145 ## @todo r=klaus: count known hard disk images, should be cImages 145 146 … … 177 178 fRc = fRc and oSession.saveSettings() 178 179 179 # take up to 200 snapshots (25 5 is the snapshot tree depth limit)180 cSnapshots = random.randrange(1, 200); ## @todo r=andy BUGBUG When specifying 254 here, it fails with object 251.180 # take up to 200 snapshots (250 is the snapshot tree depth limit (settings.h:SETTINGS_SNAPSHOT_DEPTH_MAX)) 181 cSnapshots = random.randrange(1, 200); 181 182 reporter.log('Taking %d snapshots' % (cSnapshots)) 182 183 for i in range(1, cSnapshots + 1): … … 222 223 else: 223 224 oVM = oVBox.openMachine(sSettingsFile) 225 oVBox.registerMachine(oVM); 224 226 reporter.log('API reports %i snapshots' % (oVM.snapshotCount)) 225 227 fRc = fRc and oVM.snapshotCount == cSnapshots
Note:
See TracChangeset
for help on using the changeset viewer.