[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 02/02: service-communication: Document 'close-not-connec
From: |
gnunet |
Subject: |
[gnunet-scheme] 02/02: service-communication: Document 'close-not-connected-no-fallbacks'. |
Date: |
Wed, 29 Jun 2022 18:33:11 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit 8fcf76d9aa5c0ffb56dcdb42aa24f74fcc67fe9e
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Mon Jun 27 19:16:48 2022 +0000
service-communication: Document 'close-not-connected-no-fallbacks'.
* doc/service-communication.scm
(Testing service code)[close-not-connected-no-fallbacks]: New '\explain'.
---
doc/service-communication.tm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/service-communication.tm b/doc/service-communication.tm
index 97f4464..191aa84 100644
--- a/doc/service-communication.tm
+++ b/doc/service-communication.tm
@@ -393,6 +393,18 @@
This procedure returns a boolean value suitable for <scm|test-assert>.
</explain>
+ <\explain>
+ <scm|(close-not-connected-no-fallbacks <var|service> <var|connect>
+ <var|disconnect!> #:rest)>
+ <|explain>
+ This tests the automatic reconnection logic. It verifies that if the
+ service daemon is down, the connection and disconnection callbacks are
+ not called. The optional argument <var|rest> is a list of extra arguments
+ to pass to <var|connect>.
+
+ When run sufficiently slowly, false negatives are possible.
+ </explain>
+
<todo|document more>
<\example>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.