aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_plugin_datastore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_plugin_datastore.c')
-rw-r--r--src/datastore/test_plugin_datastore.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/datastore/test_plugin_datastore.c b/src/datastore/test_plugin_datastore.c
index d7dff1041..9ec0c53a2 100644
--- a/src/datastore/test_plugin_datastore.c
+++ b/src/datastore/test_plugin_datastore.c
@@ -267,14 +267,7 @@ test (void *cls)
267{ 267{
268 struct CpsRunContext *crc = cls; 268 struct CpsRunContext *crc = cls;
269 struct GNUNET_HashCode key; 269 struct GNUNET_HashCode key;
270 const struct GNUNET_SCHEDULER_TaskContext *tc;
271 270
272 tc = GNUNET_SCHEDULER_get_task_context ();
273 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
274 {
275 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Test aborted.\n");
276 crc->phase = RP_ERROR;
277 }
278 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 271 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
279 "In phase %d, iteration %u\n", crc->phase, crc->cnt); 272 "In phase %d, iteration %u\n", crc->phase, crc->cnt);
280 switch (crc->phase) 273 switch (crc->phase)