diff options
| author | ruki <[email protected]> | 2019-12-15 15:30:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-12-15 15:33:26 +0800 |
| commit | f0cee734ed73e82364c07158b680d1399464a13e (patch) | |
| tree | e27ac61d70147ef203d7a28e739dab051d751890 /tests/modules/socket/sched_tcp/echo_client.lua | |
| parent | f72910c44225935a42b73b2b986c26f958efe5f7 (diff) | |
fix scheduler tests
Diffstat (limited to 'tests/modules/socket/sched_tcp/echo_client.lua')
| -rw-r--r-- | tests/modules/socket/sched_tcp/echo_client.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/modules/socket/sched_tcp/echo_client.lua b/tests/modules/socket/sched_tcp/echo_client.lua index af40a085d..f9c993729 100644 --- a/tests/modules/socket/sched_tcp/echo_client.lua +++ b/tests/modules/socket/sched_tcp/echo_client.lua @@ -17,9 +17,6 @@ function _session(addr, port) end print("%s: send ok, count: %d!", sock, count) sock:close() - if scheduler.co_count() == 1 then - scheduler.stop() - end end function main(count) |
