Commit Graph

5 Commits

Author SHA1 Message Date
pgoyette
603fd4b791 Calibrate the amount of time that a sleep() requires, and use that
interval instead of assuming that there are exactly 1000 real-time-clock
milliseconds per second!  On some ports when running under qemu, there
can be twice as many RTC milliseconds as expected.

This is part 2 of the changes required to make the libevent tests work
on port-amd64 under qemu.
2010-11-11 14:11:26 +00:00
pgoyette
21bfc7fd78 Adjust timers a bit so that the http timer can get a chance to expire,
even when running under qemu on platforms with a clock-skew problem.

The original 3-second timer was intended to be "longer than the http
timeout" (which is 2 seconds), and the updated 5-second value still meets
this requirement.  The updated value also meets the requirement even when
the http timeout stretches to 4-seconds under qemu.

This is part 1 of getting the libevent tests working on port-amd64 with
qemu.
2010-11-11 14:08:45 +00:00
plunky
19bcb70bf8 disable the DNS tests which rely on external hosts, as
they are not useful with automated testing systems without
internet connectivity.
2010-06-03 07:08:41 +00:00
joerg
f6ab6a9c5a Proper markup for example. Use <> include style. Bump date. 2010-05-14 03:02:13 +00:00
plunky
6448a78c94 libevent 1.4.12-stable 2009-11-02 10:00:52 +00:00