-do not include long delays in test mode, ever

This commit is contained in:
Christian Grothoff 2023-01-12 17:46:42 +01:00
parent 832097c144
commit 168fd80fbf
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -478,6 +478,8 @@ transaction_completed (void)
latency); latency);
delayed_until = GNUNET_TIME_relative_to_absolute (left); delayed_until = GNUNET_TIME_relative_to_absolute (left);
} }
if (test_mode)
delayed_until = GNUNET_TIME_UNIT_ZERO_ABS;
GNUNET_assert (NULL == task); GNUNET_assert (NULL == task);
schedule_transfers (); schedule_transfers ();
} }