summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-01-07 23:51:06 +0100
committerJulius Bünger <buenger@mytum.de>2018-01-08 11:02:43 +0100
commitd07dddc7d62538c0e087c2a938051cc731b4388a (patch)
treebd81b7dc2a5d8be88e1752d3c8d6aa2e1db2f291
parent0c01177246206939ab60cb04042d51e508c6682b (diff)
rps tests: possibly end non-churn-tests before timeoutgnunet-0.11.0rc0
-rw-r--r--src/rps/test_rps.c3
1 files changed, 2 insertions, 1 deletions
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);