VirtualBox

Ignore:
Timestamp:
Jun 26, 2019 9:56:47 AM (5 years ago)
Author:
vboxsync
Message:

tdAddGuestCtrl.py: Increase non-stale IGuestProcess::waitForArray timeout to try make it pass on really slow hardware (via). bugref:9151 bugref:9320

File:
1 edited

Legend:

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

    r79333 r79354  
    25772577            for i, oProcess in enumerate(aoProcesses):
    25782578                try:
    2579                     oProcess.waitForArray([ vboxcon.ProcessWaitForFlag_Terminate, ], 30 * 1000);
     2579                    eWaitResult = oProcess.waitForArray([ vboxcon.ProcessWaitForFlag_Terminate, ], 120 * 1000);
    25802580                    eProcessStatus = oProcess.status;
    25812581                except:
     
    25832583                else:
    25842584                    if eProcessStatus != vboxcon.ProcessStatus_TerminatedNormally:
    2585                         fRc = reporter.error('Waiting for non-stale processes #%d resulted in status %d, expected %d'
    2586                                              % (i, eProcessStatus, vboxcon.ProcessStatus_TerminatedNormally));
     2585                        fRc = reporter.error('Waiting for non-stale processes #%d resulted in status %d, expected %d (wr=%d)'
     2586                                             % (i, eProcessStatus, vboxcon.ProcessStatus_TerminatedNormally, eWaitResult));
    25872587
    25882588            try:    cProcesses = len(self.oTstDrv.oVBoxMgr.getArray(oGuestSession, 'processes'));
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