[TEST] Update timeout-related tests to use TIMEOUT #define #238
Labels
code-cleanup
Code health fixes/improvements
good-first-issue
Good issues for incoming members
testing
Code that demonstrates code behavior
In
message.h
, we defineTIMEOUT
to be the maximum number of milliseconds to wait between each message from a device.We have some tests that connect virtual faulty devices (ForeignTestDevice and UnstableTestDevice). If the test relies on waiting for these devices to timeout, the
sleep()
duration should be some multiple ofTIMEOUT
instead of a hardcoded value (ex: 5 seconds)The text was updated successfully, but these errors were encountered: