From 5e350795bfc4f100ea00cab34ab9b14bb3106d82 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 16 Jan 2019 15:46:01 -0800 Subject: test/watchdog: Change the time quantum to 0.1s instead of 1s This improves the runtime of the test suite from 60s down to 6s or less. Tested: Run multiple times through the unit test suite without any flakiness. Change-Id: Ib7d97ed62b45501db9cf15dba01e33f8f9d07b5d Signed-off-by: William A. Kennington III --- test/watchdog.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/watchdog.hpp b/test/watchdog.hpp index 1139251..df628c3 100644 --- a/test/watchdog.hpp +++ b/test/watchdog.hpp @@ -16,7 +16,7 @@ class WdogTest : public ::testing::Test public: // The unit time used to measure the timer // This should be large enough to accomodate drift - using Quantum = seconds; + using Quantum = duration; // Gets called as part of each TEST_F construction WdogTest() : -- cgit v1.2.1