git.annexia.org
/
patchq.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-functions: Hide uninteresting 'git clean' output.
[patchq.git]
/
perform-tests.py
diff --git
a/perform-tests.py
b/perform-tests.py
index
2f9eb8b
..
b8c6079
100755
(executable)
--- a/
perform-tests.py
+++ b/
perform-tests.py
@@
-25,8
+25,10
@@
import tempfile
import config
import config
+# Because tests are very long running, turn off heartbeats.
+# https://stackoverflow.com/questions/14572020/handling-long-running-tasks-in-pika-rabbitmq
connection = pika.BlockingConnection(pika.ConnectionParameters(
connection = pika.BlockingConnection(pika.ConnectionParameters(
- host = config.mq_server))
+ host = config.mq_server
, heartbeat_interval=0
))
channel = connection.channel()
def ack(method):
channel = connection.channel()
def ack(method):