gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 02/02: rps tests: possibly end non-churn-tests bef


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/02: rps tests: possibly end non-churn-tests before timeout
Date: Mon, 08 Jan 2018 11:06:10 +0100

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

julius-buenger pushed a commit to branch master
in repository gnunet.

commit d07dddc7d62538c0e087c2a938051cc731b4388a
Author: Julius Bünger <address@hidden>
AuthorDate: Sun Jan 7 23:51:06 2018 +0100

    rps tests: possibly end non-churn-tests before timeout
---
 src/rps/test_rps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index 3551eb184..4d6f1bfd1 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -801,8 +801,9 @@ default_reply_handle (void *cls,
     rps_peer->num_recv_ids++;
   }
 
-  if (0 == evaluate ())
+  if (0 == evaluate () && 0 != strncmp (cur_test_run.name, "test-rps-churn", 
14))
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Test succeeded before timeout\n");
     GNUNET_assert (NULL != shutdown_task);
     GNUNET_SCHEDULER_cancel (shutdown_task);
     shutdown_task = GNUNET_SCHEDULER_add_now (&shutdown_op, NULL);

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



reply via email to

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