VirtualBox

Changeset 61261 in vbox for trunk/src


Ignore:
Timestamp:
May 28, 2016 6:07:20 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107553
Message:

_actionSignOn: Agressively ignore fluctuations in cMbScratch as a stop gap measure to reduce new rows in TestBoxes. We ignore changes between 4-12pct relative to the amount of available scratch space.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testboxcontroller.py

    r61220 r61261  
    395395        # Update the row in TestBoxes if something changed.
    396396        #
     397        cPctScratchDiff = (cMbScratch - oTestBox.cMbScratch) * 100 / oTestBox.cMbScratch;
     398
    397399        # pylint: disable=R0916
    398400        if   self._sTestBoxAddr != oTestBox.ip \
     
    409411          or fChipsetIoMmu      != oTestBox.fChipsetIoMmu \
    410412          or cMbMemory          != oTestBox.cMbMemory \
    411           or cMbScratch         != oTestBox.cMbScratch \
     413          or abs(cPctScratchDiff) >= min(4 + cMbScratch / 10240, 12) \
    412414          or sReport            != oTestBox.sReport \
    413415          or iTestBoxScriptRev  != oTestBox.iTestBoxScriptRev \
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