[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32734 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32734 - gnunet/src/mesh |
Date: |
Fri, 21 Mar 2014 19:44:40 +0100 |
Author: bartpolot
Date: 2014-03-21 19:44:40 +0100 (Fri, 21 Mar 2014)
New Revision: 32734
Modified:
gnunet/src/mesh/gnunet-mesh-profiler.c
Log:
- not abort condition
Modified: gnunet/src/mesh/gnunet-mesh-profiler.c
===================================================================
--- gnunet/src/mesh/gnunet-mesh-profiler.c 2014-03-21 18:44:38 UTC (rev
32733)
+++ gnunet/src/mesh/gnunet-mesh-profiler.c 2014-03-21 18:44:40 UTC (rev
32734)
@@ -913,7 +913,13 @@
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test main\n");
test_ctx = ctx;
- GNUNET_assert (peers_total > 2 * PING_PEERS);
+ if (peers_total < 2 * PING_PEERS)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "not enough peers, total should be > 2 * PING_PEERS\n");
+ GNUNET_MESH_TEST_cleanup (ctx);
+ return;
+ }
GNUNET_assert (peers_total == num_peers);
peers_running = num_peers;
testbed_handles = testbed_peers;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32734 - gnunet/src/mesh,
gnunet <=