mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Reenable main/many_events_slow_add for evport in 2.1
The various evport fixes should let it actually work again
This commit is contained in:
parent
c04d927637
commit
e903db3362
@ -2218,7 +2218,6 @@ test_many_events(void *arg)
|
||||
int called[MANY];
|
||||
int i;
|
||||
int loopflags = EVLOOP_NONBLOCK, evflags=0;
|
||||
const int is_evport = !strcmp(event_base_get_method(base),"evport");
|
||||
if (one_at_a_time) {
|
||||
loopflags |= EVLOOP_ONCE;
|
||||
evflags = EV_PERSIST;
|
||||
@ -2227,10 +2226,6 @@ test_many_events(void *arg)
|
||||
memset(sock, 0xff, sizeof(sock));
|
||||
memset(ev, 0, sizeof(ev));
|
||||
memset(called, 0, sizeof(called));
|
||||
if (is_evport && one_at_a_time) {
|
||||
TT_DECLARE("NOTE", ("evport can't pass this in 2.0; skipping\n"));
|
||||
tt_skip();
|
||||
}
|
||||
|
||||
for (i = 0; i < MANY; ++i) {
|
||||
/* We need an event that will hit the backend, and that will
|
||||
|
Loading…
x
Reference in New Issue
Block a user