VirtualBox

Changeset 84909 in vbox


Ignore:
Timestamp:
Jun 22, 2020 2:57:16 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138778
Message:

Validation Kit/testfileset: Limit iterations of chooseRandomDirFromTree() to avoid potential endless loops.

File:
1 edited

Legend:

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

    r84894 r84909  
    621621        """
    622622        Returns a random directory from the tree (self.oTreeDir).
     623        Will return None if no directory with given parameters was found.
    623624        """
    624625        cRetries = 0;
     
    641642            cRetries += 1;
    642643
    643         reporter.errorXcpt('chooseRandomDirFromTree() failed; cMaxRetries=%d' % (cMaxRetries));
    644644        return None; # make pylint happy
    645645
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