Skip to content
Commit f5ec5674 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

tests: net: trickle: Initialize test variables earlier



The cb_[1|2]_called variables were initialized just before running
the test. This was too late as in some cases the Trickle timer
was triggered before the variables were init, which then caused the
test to fail even though there was no actual timer failure.

This was seen with frdm_k64f and when CONFIG_BOOT_DELAY=1000 was set.

Fixes #8658

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 40f7a024
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment