Examples/lwip: sntp example - Make SNTP server configurable

Also updates NTP example test to allow more attempts
This commit is contained in:
David Cermak
2021-11-23 13:02:49 +01:00
parent 696acf5e3f
commit 020047b0f9
3 changed files with 9 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ def test_examples_sntp(env, extra_data):
dut.expect_all('Time is not set yet. Connecting to WiFi and getting time over NTP.',
'Initializing SNTP',
'Waiting for system time to be set... (1/10)',
re.compile(r'Waiting for system time to be set... \(\d+/\d+\)'),
'Notification of a time synchronization event',
timeout=60)