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:
parent
5de7e7c77d
commit
291033fd25
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue