From 03ca8c13996b1222ef11321c31c5e560f44058e4 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Thu, 2 Jul 2020 02:05:08 -0400 Subject: twister, get tips, instance, and post transfer tests --- src/testing/testing_api_cmd_get_transfers.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/testing/testing_api_cmd_get_transfers.c') diff --git a/src/testing/testing_api_cmd_get_transfers.c b/src/testing/testing_api_cmd_get_transfers.c index 634a0ed7..d0efa13a 100644 --- a/src/testing/testing_api_cmd_get_transfers.c +++ b/src/testing/testing_api_cmd_get_transfers.c @@ -110,9 +110,16 @@ get_transfers_cb ( switch (hr->http_status) { case MHD_HTTP_OK: + if (transfers_length != gts->transfers_length) { - // FIXME: check that list of returned transactions matches our expectations! + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Transfers length does not match\n"); + TALER_TESTING_interpreter_fail (gts->is); + return; } + // { + // FIXME: check that list of returned transactions matches our expectations! + // } break; default: GNUNET_log (GNUNET_ERROR_TYPE_WARNING, -- cgit v1.2.3