mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
test: reset some static vars to avoid affecting other tests
This commit is contained in:
parent
479b5ed6f4
commit
ba97d94738
@ -866,6 +866,10 @@ test_bufferevent_connect_fail_eventcb(void *arg)
|
||||
|
||||
fake_listener = fake_listener_create(&localhost);
|
||||
|
||||
n_strings_read = 0;
|
||||
n_reads_invoked = 0;
|
||||
n_events_invoked = 0;
|
||||
|
||||
tt_int_op(n_events_invoked, ==, 0);
|
||||
|
||||
bev = bufferevent_socket_new(data->base, -1, flags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user