Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: components/domain_reliability/scheduler_unittest.cc

Issue 704893002: Domain Reliability: Switch to BackoffEntry in Scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@parse_retry_after_header
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/domain_reliability/scheduler_unittest.cc
diff --git a/components/domain_reliability/scheduler_unittest.cc b/components/domain_reliability/scheduler_unittest.cc
index 16ae6395489b6d5e7c3e1690d383f39b64683fce..80fbedb04afee2ecd7da1cf48880b946561f3c02 100644
--- a/components/domain_reliability/scheduler_unittest.cc
+++ b/components/domain_reliability/scheduler_unittest.cc
@@ -35,6 +35,7 @@ class DomainReliabilitySchedulerTest : public testing::Test {
params_,
base::Bind(&DomainReliabilitySchedulerTest::ScheduleUploadCallback,
base::Unretained(this))));
+ scheduler_->MakeDeterministicForTesting();
}
::testing::AssertionResult CheckNoPendingUpload() {

Powered by Google App Engine
This is Rietveld 408576698