[tracker/sam/tracker-2.3-developer-experience: 28/38] functional-tests/test-bus-query-cancellation.c: Limit to 100 queries
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/tracker-2.3-developer-experience: 28/38] functional-tests/test-bus-query-cancellation.c: Limit to 100 queries
- Date: Wed, 2 Oct 2019 20:19:40 +0000 (UTC)
commit 38d00895fdf8f120adb2eaedc49eeebe0e0de0da
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Sep 22 19:06:45 2019 +0200
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)
tests/functional-tests/ipc/test-bus-query-cancellation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]