projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c01177
)
rps tests: possibly end non-churn-tests before timeout
gnunet-0.11.0rc0
author
Julius Bünger
<buenger@mytum.de>
Sun, 7 Jan 2018 22:51:06 +0000
(23:51 +0100)
committer
Julius Bünger
<buenger@mytum.de>
Mon, 8 Jan 2018 10:02:43 +0000
(11:02 +0100)
src/rps/test_rps.c
patch
|
blob
|
history
diff --git
a/src/rps/test_rps.c
b/src/rps/test_rps.c
index 3551eb184342bde99138634a7d1aeab67d78176b..4d6f1bfd1fedd0ee9fdce3e17eacf3445d0719db 100644
(file)
--- 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);