blob: bde04a5b30e1a3e1a1f904bc59c01c9b6d10ae09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
# Do 3 runs of topictests for C++ and Java brokers with reduced output.
. `dirname $0`/env
# Run a short topictest to warm up the broker and iron out startup effects.
flush() {
topic_listener >/dev/null 2>&1 &
topic_publisher >/dev/null 2>&1
}
echo Java broker
broker j ; flush
topictest c | tail -n1
topictest c | tail -n1
topictest c | tail -n1
echo C++ broker
broker c ; flush
topictest c | tail -n1
topictest c | tail -n1
topictest c | tail -n1
# Don't bother with java clients we know they're slower.
|