summaryrefslogtreecommitdiff
path: root/tests/functional-tests/ipc
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2019-09-22 19:06:45 +0200
committerSam Thursfield <sam@afuera.me.uk>2019-09-22 19:15:35 +0200
commit6780c7f2dade67a140317c06d2fe96137bd71f7e (patch)
tree0065b3bf25d56a306c19e123f1bbe067a1066de6 /tests/functional-tests/ipc
parent5b7c19e0d0b025a0a7f1683da57d5a00df5586cc (diff)
downloadtracker-6780c7f2dade67a140317c06d2fe96137bd71f7e.tar.gz
functional-tests/test-bus-query-cancellation.c: Limit to 100 queries
The maximum number of pending replies for a D-Bus client is 127. If we rapidly spawn and cancel a larger number of queries, we see a lot of warning messages from D-Bus daemon about that: trackertestutils.dbusdaemon.stdout: dbus-daemon[23534]: [session uid=1000 pid=23534] The maximum number of pending replies for ":1.1" (uid=1000 pid=23543 comm="tests/functional-tests/ipc/test-bus-query-cancella" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") has been reached (max_replies_per_connection=128)
Diffstat (limited to 'tests/functional-tests/ipc')
-rw-r--r--tests/functional-tests/ipc/test-bus-query-cancellation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional-tests/ipc/test-bus-query-cancellation.c b/tests/functional-tests/ipc/test-bus-query-cancellation.c
index 44ab25fe4..e53ea7134 100644
--- a/tests/functional-tests/ipc/test-bus-query-cancellation.c
+++ b/tests/functional-tests/ipc/test-bus-query-cancellation.c
@@ -23,7 +23,7 @@
#include <libtracker-sparql/tracker-sparql.h>
-#define MAX_TRIES 900
+#define MAX_TRIES 100
static int counter = 0;