VirtualBox

Changeset 84659 in vbox


Ignore:
Timestamp:
Jun 3, 2020 11:44:11 AM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/testdriver: Made uploading timeout calculation a lot more conservative as uploading still fails on some machines with too short default timeouts being set.

File:
1 edited

Legend:

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

    r82968 r84659  
    280280            abMsg.append(0);
    281281
    282         reporter.log2('sendMsgInt: op=%s len=%d to=%d' % (sOpcode, len(abMsg), cMsTimeout));
     282        reporter.log2('sendMsgInt: op=%s len=%d timeout=%d' % (sOpcode, len(abMsg), cMsTimeout));
    283283        return self.sendBytes(abMsg, cMsTimeout);
    284284
     
    643643        rc = self.waitForTask(self.cMsTimeout + 5000);
    644644        if rc is False:
    645             reporter.maybeErr(self.fErr, 'asyncToSync: waitForTask failed...');
     645            reporter.maybeErr(self.fErr, 'asyncToSync: waitForTask (timeout %d) failed...' % (self.cMsTimeout,));
    646646            self.cancelTask();
    647647            #reporter.log2('asyncToSync(%s): returns False (#2)' % (fnAsync, rc));
     
    16351635        Returns timeout in milliseconds.
    16361636        """
    1637         return 30000 + cbFile / 256; # 256 KiB/s (picked out of thin air)
     1637        return 30000 + cbFile / 32; # 32 KiB/s (picked out of thin air)
    16381638
    16391639    @staticmethod
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