gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: temporary fix for #5818


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: temporary fix for #5818
Date: Tue, 23 Jul 2019 17:22:50 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 91fa8e7ca temporary fix for #5818
     new 37ee964d6 Merge branch 'master' of git+ssh://gnunet.org/gnunet
91fa8e7ca is described below

commit 91fa8e7cab1fdfcb4c52f79f459b899c7d9302f0
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Tue Jul 23 17:21:25 2019 +0200

    temporary fix for #5818
---
 src/cadet/test_cadet.c | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c
index e87e173be..bbc120fb1 100644
--- a/src/cadet/test_cadet.c
+++ b/src/cadet/test_cadet.c
@@ -11,7 +11,7 @@
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-    
+
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
@@ -500,7 +500,7 @@ handle_data (void *cls,
              const struct GNUNET_MessageHeader *message);
 
 /**
- * Function called whenever an MQ-channel is destroyed, even if the destruction
+ * Function called whenever an MQ-channel is destroyed, unless the destruction
  * was requested by #GNUNET_CADET_channel_destroy.
  * It must NOT call #GNUNET_CADET_channel_destroy on the channel.
  *
@@ -555,7 +555,7 @@ reconnect_op (void *cls)
 }
 
 /**
- * Function called whenever an MQ-channel is destroyed, even if the destruction
+ * Function called whenever an MQ-channel is destroyed, unless the destruction
  * was requested by #GNUNET_CADET_channel_destroy.
  * It must NOT call #GNUNET_CADET_channel_destroy on the channel.
  *
@@ -1221,9 +1221,9 @@ main (int argc, char *argv[])
      * 1 incoming channel (@dest)
      * total_packets received data packet (@dest)
      * total_packets received data packet (@orig)
-     * 1 received channel destroy (@dest)
+     * 1 received channel destroy (@dest) FIXME #5818
      */
-    ok_goal = total_packets * 2 + 2;
+    ok_goal = total_packets * 2 + 1;
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SPEED_ACK\n");
     test = SPEED_ACK;
     test_name = "speed ack";
@@ -1235,9 +1235,9 @@ main (int argc, char *argv[])
      * 1 initial packet (@dest)
      * total_packets received data packet (@dest)
      * 1 received data packet (@orig)
-     * 1 received channel destroy (@dest)
+     * 1 received channel destroy (@dest)  FIXME #5818
      */
-    ok_goal = total_packets + 4;
+    ok_goal = total_packets + 3;
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SPEED\n");
     if (strstr (argv[0], "_reliable") != NULL)
     {
@@ -1254,12 +1254,13 @@ main (int argc, char *argv[])
   else if (strstr (argv[0], "_keepalive") != NULL)
   {
     test = KEEPALIVE;
+    test_name = "keepalive";
     /* Test is supposed to generate the following callbacks:
      * 1 incoming channel (@dest)
      * [wait]
-     * 1 received channel destroy (@dest)
+     * 1 received channel destroy (@dest)  FIXME #5818
      */
-    ok_goal = 2;
+    ok_goal = 1;
   }
   else if (strstr (argv[0], "_reopen") != NULL)
   {
@@ -1268,9 +1269,9 @@ main (int argc, char *argv[])
     ///* Test is supposed to generate the following callbacks:
     // * 1 incoming channel (@dest)
     // * [wait]
-    // * 1 received channel destroy (@dest)
+    // * 1 received channel destroy (@dest)  FIXME #5818
     // */
-    ok_goal = 7;
+    ok_goal = 6;
   }
   else
   {

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]