hitting cache makes cancel stress test unreliable

Signed-off-by: Kirill Rodriguez <theoden8@gmail.com>
This commit is contained in:
Kirill Rodriguez 2024-10-31 10:18:22 +00:00 committed by Kirill Rodriguez
parent e219dd4a6e
commit d2facdae42
No known key found for this signature in database
GPG Key ID: 2AA85EC2AD7F85EA

View File

@ -2547,7 +2547,8 @@ test_getaddrinfo_async_cancel_stress(void *ptr)
unsigned i;
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));
sin.sin_family = AF_INET;