chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The server should now come to life straight away and start picking
[disorder]
/
tests
/
queue.py
diff --git
a/tests/queue.py
b/tests/queue.py
index c78d6ed82c5ecd8f7297402cd58ed7807144d47d..4deb88d40de223eb3525ff1ee31ada1a5774746d 100755
(executable)
--- a/
tests/queue.py
+++ b/
tests/queue.py
@@
-24,6
+24,11
@@
def test():
"""Check the queue is padded to the (default) configured length"""
dtest.start_daemon()
dtest.create_user()
"""Check the queue is padded to the (default) configured length"""
dtest.start_daemon()
dtest.create_user()
+ print " waiting for queue to be populated..."
+ class wait_monitor(disorder.monitor):
+ def queue(self, q):
+ return False
+ wait_monitor().run()
c = disorder.client()
print " getting queue via python module"
q = c.queue()
c = disorder.client()
print " getting queue via python module"
q = c.queue()