chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only report failure to find OSS devices once, not every time we think
[disorder]
/
tests
/
queue.py
diff --git
a/tests/queue.py
b/tests/queue.py
index cc0b619a31e719b97fc81640e08e4fb1694e9c17..4deb88d40de223eb3525ff1ee31ada1a5774746d 100755
(executable)
--- a/
tests/queue.py
+++ b/
tests/queue.py
@@
-23,6
+23,12
@@
import dtest,time,disorder,re
def test():
"""Check the queue is padded to the (default) configured length"""
dtest.start_daemon()
def test():
"""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()