Skip to content

Commit

Permalink
Remove unuseful extra long wait from ranged waits test
Browse files Browse the repository at this point in the history
The code was used during implementation of passing long delay times to
daemon side and got committed accidentally. Now it makes the test case
fail every time and take ages to reach completion.

Remove extra long wakeup timer that has no chances of triggering.

[libiphb] Remove unuseful extra long wait from ranged waits test. Fixes JB#26784
  • Loading branch information
spiiroin committed Mar 3, 2015
1 parent f649748 commit 39b733a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/hbtest3.c
Expand Up @@ -1103,14 +1103,6 @@ static void ranges_test(int *xc)
// | |
// group1 group2

/* start extra long timer, we do not expect this to trigger */
{
int d = 24 * 60 * 60;
hbtimer_t *t = hbtimer_create(d*3, d*4, 1);
t->repeats = 0;
timer[timers++] = t;
}

/* fail if tests do not finish in time */
timeout = g_timeout_add_seconds(scale(11) + 13, failure_cb, &timeout);

Expand Down

0 comments on commit 39b733a

Please sign in to comment.