Project

General

Profile

Bug #887

Timer tests on slow system

Added by Thomas ANDREJAK almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/14/2017
Due date:
% Done:

0%

Resolution:

Description

On slow system, sometimes, timer tests (tests/prelude-timer.c) work works.

Adding "1" to max_expire in for loop solve this

-        for ( i = 0; i <= max_expire && timer_alive; i++ ) {
+        for ( i = 0; i <= max_expire + 1 && timer_alive; i++ ) {

Also available in: Atom PDF