VirtualBox

Changeset 83342 in vbox for trunk


Ignore:
Timestamp:
Mar 19, 2020 8:45:24 PM (5 years ago)
Author:
vboxsync
Message:

TestManager/schedqueue.py: Ignore SchedQueues.fEnabled as we no longer generate queue items for disabled scheduling groups. bugref:9657

Location:
trunk/src/VBox/ValidationKit/testmanager
Files:
2 edited

Legend:

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

    r83339 r83342  
    5252        self.sTestCase          = None
    5353        self.fUpToDate          = None
    54         self.fEnabled           = None
    5554
    5655    def initFromDbRow(self, aoRow):
     
    6867        self.sTestCase          = aoRow[4]
    6968        self.fUpToDate          = aoRow[5]
    70         self.fEnabled           = aoRow[6]
    7169        return self
    7270
     
    9896       AND TestCaseArgs.tsExpire = 'infinity'::TIMESTAMP
    9997       AND TestCases.tsExpire    = 'infinity'::TIMESTAMP AS fUpToDate,
    100        SchedGroups.fEnabled,
    10198       ROW_NUMBER() OVER (PARTITION BY SchedQueues.idSchedGroup
    10299                              ORDER BY SchedQueues.tsLastScheduled,
     
    118115              AND TestCases.tsEffective         <= SchedQueues.tsConfig
    119116ORDER BY iPerSchedGroupRowNumber,
    120          SchedGroups.fEnabled,
    121117         SchedGroups.sName
    122118LIMIT %s OFFSET %s''' % (cMaxRows, iStart,))
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminschedqueue.py

    r83338 r83342  
    5353        oEntry = self._aoEntries[iEntry] # type: SchedQueueEntry
    5454        sState = 'up-to-date' if oEntry.fUpToDate else 'outdated';
    55         if not oEntry.fEnabled:
    56             sState += ' disabled';
    5755        return [ oEntry.tsLastScheduled, oEntry.sSchedGroup, oEntry.sTestGroup, oEntry.sTestCase, sState, oEntry.idItem ];
    5856
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