Skip to content

Commit d2d34ae

Browse files
committed
Fix bad rebase from websocket server code
1 parent 0fff4ac commit d2d34ae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_connection_manager.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,12 @@ static int s_cm_tester_init(struct cm_tester_options *options) {
161161
clock_fn = options->mock_table->aws_high_res_clock_get_ticks;
162162
}
163163

164-
tester->event_loop_group = aws_event_loop_group_new(tester->allocator, clock_fn, 1, NULL, NULL, NULL);
164+
struct aws_event_loop_group_options elg_options = {
165+
.loop_count = 1,
166+
.clock_override = clock_fn,
167+
};
168+
169+
tester->event_loop_group = aws_event_loop_group_new(tester->allocator, &elg_options);
165170

166171
struct aws_host_resolver_default_options resolver_options = {
167172
.el_group = tester->event_loop_group,

0 commit comments

Comments
 (0)