Changeset 62099 in vbox for trunk/src/VBox/ValidationKit/testdriver/reporter.py
- Timestamp:
- Jul 7, 2016 9:59:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/reporter.py
r62084 r62099 889 889 return False; 890 890 891 def _xmlFlushIfNecessary(self ):891 def _xmlFlushIfNecessary(self, fPolling = False): 892 892 """Flushes the XML back log if necessary.""" 893 893 tsNow = utils.timestampSecond(); 894 894 cSecs = tsNow - self._secTsXmlFlush; 895 895 cSecsLast = tsNow - self._secTsXmlLast; 896 self._secTsXmlLast = tsNow; 896 if fPolling is not True: 897 self._secTsXmlLast = tsNow; 897 898 self._writeOutput('xml-debug/%s: %s s since flush, %s s since poll' 898 899 % (len(self._asXml), cSecs, cSecsLast,)); # temporarily while debugging flush/poll problem. … … 943 944 if len(self._asXml) > 0: 944 945 g_oLock.acquire(); 945 self._xmlFlushIfNecessary( );946 self._xmlFlushIfNecessary(fPolling = True); 946 947 g_oLock.release(); 947 948 return None;
Note:
See TracChangeset
for help on using the changeset viewer.