1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

timout for timing unit tests

This commit is contained in:
Steffen Vogel 2016-10-19 01:35:08 -04:00
parent 5de7e7c77d
commit 291033fd25

View file

@ -76,7 +76,7 @@ Test(timing, time_to_from_double)
cr_assert_float_eq(dbl, ref, 1e-9);
}
Test(timing, timerfd_create_rate)
Test(timing, timerfd_create_rate, .timeout = 20)
{
struct timespec start, end;
@ -100,7 +100,7 @@ Test(timing, timerfd_create_rate)
close(tfd);
}
Test(timing, timerfd_wait_until)
Test(timing, timerfd_wait_until, .timeout = 1)
{
int tfd = timerfd_create(CLOCK_REALTIME, 0);