From 59c81c7fb63706fff8c90c28742c124ef1f07cb7 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Thu, 13 Jul 2023 14:51:18 -0400 Subject: [PATCH] Fix #2393, set AtLeapSeconds in ExternalTone test case Setting this value to 0 allows it to get the same result regardless of the setting of CFE_MISSION_TIME_CFG_DEFAULT_UTC. --- modules/time/ut-coverage/time_UT.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/time/ut-coverage/time_UT.c b/modules/time/ut-coverage/time_UT.c index 3a4961ac1..bdfdbeae3 100644 --- a/modules/time/ut-coverage/time_UT.c +++ b/modules/time/ut-coverage/time_UT.c @@ -1278,6 +1278,7 @@ void Test_External(void) CFE_TIME_Global.ReferenceState[0].AtToneDelay.Subseconds = 0; CFE_TIME_Global.ReferenceState[0].AtToneLatch.Seconds = 0; CFE_TIME_Global.ReferenceState[0].AtToneLatch.Subseconds = 0; + CFE_TIME_Global.ReferenceState[0].AtToneLeapSeconds = 0; CFE_TIME_Global.MaxDelta.Seconds = 0; CFE_TIME_Global.MaxDelta.Subseconds = 1; CFE_TIME_Global.MaxLocalClock.Seconds = 0;