VirtualBox

Changeset 65310 in vbox


Ignore:
Timestamp:
Jan 16, 2017 9:44:56 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112882
Message:

testdriver/vbox.py: On 'abort', kill the pids in the pid file before terminating VBoxSVC. Try get rid of the timed out testscript early.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r64431 r65310  
    17401740        Terminate VBoxSVC if we've got a pid file.
    17411741        """
    1742         self._killVBoxSVCByPidFile('%s/VBoxSVC.pid' % (self.sScratchPath,));
    1743         return base.TestDriver.actionAbort(self);
     1742        #
     1743        # Take default action first, then kill VBoxSVC.  The other way around
     1744        # is problematic since the testscript would continue running and possibly
     1745        # trigger a new VBoxSVC to start.
     1746        #
     1747        fRc1 = base.TestDriver.actionAbort(self);
     1748        fRc2 = self._killVBoxSVCByPidFile('%s/VBoxSVC.pid' % (self.sScratchPath,));
     1749        return fRc1 is True and fRc2 is True;
    17441750
    17451751    def onExit(self, iRc):
Note: See TracChangeset for help on using the changeset viewer.

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