aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_api.c')
-rw-r--r--src/testbed/testbed_api.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c
index a019d9b64..ae40948b3 100644
--- a/src/testbed/testbed_api.c
+++ b/src/testbed/testbed_api.c
@@ -1310,7 +1310,13 @@ handle_barrier_status (void *cls,
1310 1310
1311 cleanup: 1311 cleanup:
1312 GNUNET_free_non_null (emsg); 1312 GNUNET_free_non_null (emsg);
1313 if (NULL != barrier) 1313 /**
1314 * Do not remove the barrier if we did not echo the status back; this is
1315 * required at the chained testbed controller setup to ensure the only the
1316 * test-driver echos the status and the controller hierarchy properly
1317 * propagates the status.
1318 */
1319 if ((NULL != barrier) && (GNUNET_YES == barrier->echo))
1314 GNUNET_TESTBED_barrier_remove_ (barrier); 1320 GNUNET_TESTBED_barrier_remove_ (barrier);
1315} 1321}
1316 1322