diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-11-30 17:17:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-11-30 17:17:37 +0100 |
commit | 5540747ca2e5f37f2df504d689b850d1078fcdc5 (patch) | |
tree | 0e8be904bdedfe74a7cf78e1c27f7edc614c6301 /src/auditordb/test_auditordb.c | |
parent | 78b77ee8d515c80ac85ca7af59e3e82c2baaeb68 (diff) |
patch to address #5183: always round time before giving it to DB, tolerate DB answering without rounded time
Diffstat (limited to 'src/auditordb/test_auditordb.c')
-rw-r--r-- | src/auditordb/test_auditordb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/auditordb/test_auditordb.c b/src/auditordb/test_auditordb.c index 04c6d23b0..a5e8ba71d 100644 --- a/src/auditordb/test_auditordb.c +++ b/src/auditordb/test_auditordb.c @@ -164,6 +164,7 @@ run (void *cls) struct GNUNET_TIME_Absolute now, past, future, date; now = GNUNET_TIME_absolute_get (); + (void) GNUNET_TIME_round_abs (&now); past = GNUNET_TIME_absolute_subtract (now, GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 4)); @@ -357,7 +358,7 @@ run (void *cls) (0 != memcmp (&withdraw_fee_balance2, &withdraw_fee_balance, sizeof (withdraw_fee_balance))) ) ); - + GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Test: insert_denomination_balance\n"); |