gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: /history issue test


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: /history issue testcase
Date: Sat, 22 Jul 2017 05:50:44 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 9626af4  /history issue testcase
9626af4 is described below

commit 9626af456f4397102d0197134a9fc1140478b5a0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jul 22 05:50:26 2017 +0200

    /history issue testcase
---
 src/backenddb/plugin_merchantdb_postgres.c | 4 +++-
 src/lib/test_merchant_api.c                | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 6c4dbcb..443d527 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1066,7 +1066,9 @@ postgres_find_contract_terms_by_date_and_range (void *cls,
     .cb = cb,
     .cb_cls = cb_cls
   };
-
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+              "DB serving /history with date %s\n",
+              GNUNET_STRINGS_absolute_time_to_string (date));
   if (GNUNET_YES == future)
     stmt = "find_contract_terms_by_date_and_range_future";
   else
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 6f23209..cc193b1 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -2711,7 +2711,7 @@ run (void *cls)
       .label = "history-1",
       .expected_response_code = MHD_HTTP_OK,
       /*all records to be returned*/
-      .details.history.date.abs_value_us = 43 * 1000LL * 1000LL,
+      .details.history.date.abs_value_us = 99999999999 * 1000LL * 1000LL,
       .details.history.nresult = 2,
       .details.history.start = 10,
       .details.history.nrows = 10

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]