diff options
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/test_datastore_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c index 25836ca66..f6945ed2e 100644 --- a/src/datastore/test_datastore_api.c +++ b/src/datastore/test_datastore_api.c | |||
@@ -462,12 +462,14 @@ run_tests (void *cls, int32_t success, struct GNUNET_TIME_Absolute min_expiratio | |||
462 | return; | 462 | return; |
463 | case GNUNET_NO: | 463 | case GNUNET_NO: |
464 | FPRINTF (stderr, "%s", "Test 'put' operation failed, key already exists (!?)\n"); | 464 | FPRINTF (stderr, "%s", "Test 'put' operation failed, key already exists (!?)\n"); |
465 | GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES); | ||
465 | GNUNET_free (crc); | 466 | GNUNET_free (crc); |
466 | return; | 467 | return; |
467 | case GNUNET_SYSERR: | 468 | case GNUNET_SYSERR: |
468 | FPRINTF (stderr, | 469 | FPRINTF (stderr, |
469 | "Test 'put' operation failed with error `%s' database likely not setup, skipping test.\n", | 470 | "Test 'put' operation failed with error `%s' database likely not setup, skipping test.\n", |
470 | msg); | 471 | msg); |
472 | GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES); | ||
471 | GNUNET_free (crc); | 473 | GNUNET_free (crc); |
472 | return; | 474 | return; |
473 | default: | 475 | default: |