Skip to content

Commit

Permalink
Merge pull request #3699 from brave/fix-tests
Browse files Browse the repository at this point in the history
Hardens rewards tests
  • Loading branch information
NejcZdovc committed Oct 15, 2019
2 parents 22a8916 + 74e0e55 commit fd8a251
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ void Contribution::PrepareRecurringList(
StartAutoContribute();
return;
} else {
SetTimer(&delay_ac_timer_id, 30);
int delay = 30;
if (ledger::is_testing) {
delay = 1;
}
SetTimer(&delay_ac_timer_id, delay);
}

auto verified_list = GetVerifiedListRecurring(list, &budget);
Expand Down

0 comments on commit fd8a251

Please sign in to comment.