[wing] unittests: reduce cancel timeouts
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] unittests: reduce cancel timeouts
- Date: Wed, 10 Aug 2022 14:50:31 +0000 (UTC)
commit ceaed54d148a342c49ef58f84c2c2830e33bb065
Author: Silvio Lazzeretti <silviola amazon com>
Date: Wed Aug 10 14:23:39 2022 +0200
unittests: reduce cancel timeouts
tests/named-pipe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/named-pipe.c b/tests/named-pipe.c
index 04a88b7..ced5137 100644
--- a/tests/named-pipe.c
+++ b/tests/named-pipe.c
@@ -349,7 +349,7 @@ test_accept_cancel (gconstpointer user_data)
accept_cancelled_cb,
&accept_cancelled);
- g_timeout_add_seconds (5, on_cancel_task, cancellable);
+ g_timeout_add_seconds (3, on_cancel_task, cancellable);
do
g_main_context_iteration (NULL, TRUE);
@@ -407,7 +407,7 @@ test_connect_accept_cancel (gconstpointer user_data)
accept_cancelled_cb,
&success_accepted);
- g_timeout_add_seconds (5, on_cancel_task, cancellable);
+ g_timeout_add_seconds (3, on_cancel_task, cancellable);
do
g_main_context_iteration (NULL, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]