round exec time
This commit is contained in:
parent
9f0245ca99
commit
27300ad1cc
@ -2653,6 +2653,12 @@ run (void *cls)
|
|||||||
{ .oc = OC_CHECK_BANK_DEPOSITS_EMPTY,
|
{ .oc = OC_CHECK_BANK_DEPOSITS_EMPTY,
|
||||||
.label = "check_bank_empty" },
|
.label = "check_bank_empty" },
|
||||||
|
|
||||||
|
{ .oc = OC_DEPOSIT_WTID,
|
||||||
|
.label = "deposit-wtid-ok",
|
||||||
|
.expected_response_code = MHD_HTTP_OK,
|
||||||
|
.details.deposit_wtid.deposit_ref = "deposit-simple" },
|
||||||
|
|
||||||
|
|
||||||
/* TODO: trigger aggregation logic and then check the
|
/* TODO: trigger aggregation logic and then check the
|
||||||
cases where tracking succeeds! */
|
cases where tracking succeeds! */
|
||||||
|
|
||||||
|
@ -434,6 +434,7 @@ deposit_cb (void *cls,
|
|||||||
au->row_id = row_id;
|
au->row_id = row_id;
|
||||||
au->wire = (json_t *) wire;
|
au->wire = (json_t *) wire;
|
||||||
au->execution_time = GNUNET_TIME_absolute_get ();
|
au->execution_time = GNUNET_TIME_absolute_get ();
|
||||||
|
(void) GNUNET_TIME_round_abs (&au->execution_time);
|
||||||
TALER_JSON_hash (au->wire,
|
TALER_JSON_hash (au->wire,
|
||||||
&au->h_wire);
|
&au->h_wire);
|
||||||
json_incref (au->wire);
|
json_incref (au->wire);
|
||||||
|
Loading…
Reference in New Issue
Block a user