VirtualBox

Changeset 66998 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 22, 2017 9:28:07 AM (8 years ago)
Author:
vboxsync
Message:

ReCreateQueueData:deepTestGroupSort: more error diagnotics

File:
1 edited

Legend:

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

    r65980 r66998  
    254254            if oTestGroup.aoTestCases:
    255255                iTstPrio = oTestGroup.aoTestCases[0];
    256                 for oTestCase in oTestGroup.aoTestCases:
     256                for iTestCase, oTestCase in enumerate(oTestGroup.aoTestCases):
    257257                    if oTestCase.iSchedPriority > iTstPrio:
    258                         raise TMExceptionBase('Incorrectly sorted testcases returned by database.');
     258                        raise TMExceptionBase('Incorrectly sorted testcases returned by database: i=%s prio=%s idGrp=%s %s'
     259                                              % ( iTestCase, iTstPrio, oTestGroup.idTestGroup,
     260                                                  ','.join(['(%s: %s)' % (oCur.idTestCase, oCur.iSchedPriority)
     261                                                            for oCur in oTestGroup.aoTestCases]),));
    259262
    260263        #
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