[CalendarServer-changes] [13534] CalendarServer/trunk/txdav/common/datastore/test/util.py

source_changes at macosforge.org source_changes at macosforge.org
Sat May 24 13:49:31 PDT 2014


Revision: 13534
          http://trac.calendarserver.org//changeset/13534
Author:   cdaboo at apple.com
Date:     2014-05-24 13:49:31 -0700 (Sat, 24 May 2014)
Log Message:
-----------
Print job types as well.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/common/datastore/test/util.py

Modified: CalendarServer/trunk/txdav/common/datastore/test/util.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/test/util.py	2014-05-24 19:17:43 UTC (rev 13533)
+++ CalendarServer/trunk/txdav/common/datastore/test/util.py	2014-05-24 20:49:31 UTC (rev 13534)
@@ -231,7 +231,10 @@
             jobs = yield JobItem.all(txn)
             yield txn.commit()
             if len(jobs):
-                print("Jobs left in job queue {}".format(testCase))
+                print("Jobs left in job queue {}: {}".format(
+                    testCase,
+                    ",".join([job.workType for job in jobs])
+                ))
 
             if enableJobProcessing:
                 yield pool.stopService()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140524/440e09c6/attachment-0001.html>


More information about the calendarserver-changes mailing list