VirtualBox

Changeset 77657 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 11, 2019 6:37:53 PM (6 years ago)
Author:
vboxsync
Message:

vsheriff: make the code checking the full result tree for failures indicating a bad testbox actually work (needed more effort to get the failure reason)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r77656 r77657  
    469469                        aoFailedResults = oTree.getListOfFailures();
    470470                        for oFailedResult in aoFailedResults:
    471                             if oFailedResult.idFailureReason in aidFailureReasons:
    472                                 oFailure = oFailedResult;
     471                            oFailure = self.oTestResultFailureLogic.getById(oFailedResult.idTestResult);
     472                            if oFailure is not None and oFailure.idFailureReason in aidFailureReasons:
    473473                                break;
     474                            else:
     475                                oFailure = None;
    474476                    if oFailure is not None:
    475477                        cBad += 1;
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