mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
hitting cache makes cancel stress test unreliable
Signed-off-by: Kirill Rodriguez <theoden8@gmail.com>
This commit is contained in:
parent
e219dd4a6e
commit
d2facdae42
@ -2547,7 +2547,8 @@ test_getaddrinfo_async_cancel_stress(void *ptr)
|
|||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
base = event_base_new();
|
base = event_base_new();
|
||||||
dns_base = evdns_base_new(base, 0);
|
/* if we keep hitting cache this test becomes unreliable */
|
||||||
|
dns_base = evdns_base_new(base, EVDNS_BASE_NO_CACHE);
|
||||||
|
|
||||||
memset(&sin, 0, sizeof(sin));
|
memset(&sin, 0, sizeof(sin));
|
||||||
sin.sin_family = AF_INET;
|
sin.sin_family = AF_INET;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user