VirtualBox

Changeset 67032 in vbox for trunk


Ignore:
Timestamp:
May 23, 2017 10:00:28 AM (8 years ago)
Author:
vboxsync
Message:

ValidationKit: Makes no sense to add task A and remove task B (and oSession is already added by starting the VM and will be removed when terminating it). Causes a leftover SessionWrapper, which keeps API objects alive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r62484 r67032  
    5757    """
    5858    ## @todo
    59     # - More of the settings stuff can e and need to be generalized!
     59    # - More of the settings stuff can be and need to be generalized!
    6060    #
    6161
     
    128128                                                                  sFileCdWait = 'AUTORUN.INF');
    129129        if oSession is not None:
    130             self.addTask(oSession);
     130            self.addTask(oTxsSession);
    131131            # Do the testing.
    132132            reporter.testStart('Install');
     
    146146            reporter.testDone(fSkip);
    147147
    148             ## @todo Save an restore test.
     148            ## @todo Save and restore test.
    149149
    150150            ## @todo Reset tests.
     
    154154            # Cleanup.
    155155            self.removeTask(oTxsSession);
    156             #self.terminateVmBySession(oSession)
     156            self.terminateVmBySession(oSession)
    157157        return fRc;
    158158
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette