- Timestamp:
- Mar 19, 2020 8:45:24 PM (5 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testmanager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/schedqueue.py
r83339 r83342 52 52 self.sTestCase = None 53 53 self.fUpToDate = None 54 self.fEnabled = None55 54 56 55 def initFromDbRow(self, aoRow): … … 68 67 self.sTestCase = aoRow[4] 69 68 self.fUpToDate = aoRow[5] 70 self.fEnabled = aoRow[6]71 69 return self 72 70 … … 98 96 AND TestCaseArgs.tsExpire = 'infinity'::TIMESTAMP 99 97 AND TestCases.tsExpire = 'infinity'::TIMESTAMP AS fUpToDate, 100 SchedGroups.fEnabled,101 98 ROW_NUMBER() OVER (PARTITION BY SchedQueues.idSchedGroup 102 99 ORDER BY SchedQueues.tsLastScheduled, … … 118 115 AND TestCases.tsEffective <= SchedQueues.tsConfig 119 116 ORDER BY iPerSchedGroupRowNumber, 120 SchedGroups.fEnabled,121 117 SchedGroups.sName 122 118 LIMIT %s OFFSET %s''' % (cMaxRows, iStart,)) -
trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminschedqueue.py
r83338 r83342 53 53 oEntry = self._aoEntries[iEntry] # type: SchedQueueEntry 54 54 sState = 'up-to-date' if oEntry.fUpToDate else 'outdated'; 55 if not oEntry.fEnabled:56 sState += ' disabled';57 55 return [ oEntry.tsLastScheduled, oEntry.sSchedGroup, oEntry.sTestGroup, oEntry.sTestCase, sState, oEntry.idItem ]; 58 56
Note:
See TracChangeset
for help on using the changeset viewer.