test: use random version in ntp_core unit test
This commit is contained in:
parent
fbca570d0b
commit
af145e871e
1 changed files with 1 additions and 0 deletions
|
@ -303,6 +303,7 @@ test_unit(void)
|
|||
source.params.interleaved = 1;
|
||||
if (random() % 2)
|
||||
source.params.authkey = 1;
|
||||
source.params.version = random() % 4 + 1;
|
||||
|
||||
UTI_ZeroTimespec(¤t_time);
|
||||
advance_time(TST_GetRandomDouble(1.0, 1e9));
|
||||
|
|
Loading…
Reference in a new issue