Skip to content

Commit 27843b5

Browse files
fredoh9marc-hb
authored andcommitted
verify-kernel-boot-log.sh: add delay before checking NTP sync
re_enable_ntp_sync will trigger ntp sync immediately, but it may take some time due to network delay. Some delay is required before checking ntp sync again. Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
1 parent 2ff9c0b commit 27843b5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test-case/verify-kernel-boot-log.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ ntp_check()
8282
# before stopping ntp and after enabling ntp.
8383
re_enable_ntp_sync
8484

85+
# In normal case, it will trigger NTP sync immediately,
86+
# but expect some network delay.
87+
sleep 5
8588
if check_ntp_sync; then
8689
printf '\nTime Check: NTP Synchronized after re-enabling ntp sync\n'
8790
else

0 commit comments

Comments
 (0)