Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable iocp for win #176

Closed
wants to merge 2 commits into from
Closed

enable iocp for win #176

wants to merge 2 commits into from

Conversation

qicosmos
Copy link
Collaborator

@qicosmos qicosmos commented Feb 6, 2023

Why

We disabled iocp on win before for some failed cases, we should enable it and fix failed cases.

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Code Coverage Report
for detail, goto summary download Artifacts

Filename                                       Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
asio_util/asio_coro_util.hpp                          36                 2    94.44%         166                 2    98.80%           0                 0         -
asio_util/asio_util.hpp                                3                 1    66.67%          17                 5    70.59%           0                 0         -
asio_util/io_context_pool.hpp                          8                 3    62.50%          51                12    76.47%          12                 1    91.67%
coro_rpc/coro_rpc/common_service.hpp                   3                 0   100.00%          55                 0   100.00%          26                 8    69.23%
coro_rpc/coro_rpc/connection.hpp                       4                 0   100.00%          63                 1    98.41%          10                 2    80.00%
coro_rpc/coro_rpc/coro_connection.hpp                 23                 1    95.65%         328                31    90.55%         120                38    68.33%
coro_rpc/coro_rpc/coro_rpc_client.hpp                 28                 3    89.29%         446                57    87.22%         122                41    66.39%
coro_rpc/coro_rpc/coro_rpc_server.hpp                 24                 2    91.67%         234                22    90.60%          74                33    55.41%
coro_rpc/coro_rpc/router_impl.hpp                     14                 1    92.86%         161                21    86.96%          36                18    50.00%
coro_rpc/coro_rpc/rpc_execute.hpp                      6                 0   100.00%         204                 0   100.00%           4                 1    75.00%
easylog/appender.hpp                                   6                 6     0.00%          71                71     0.00%          28                28     0.00%
easylog/easylog.h                                     11                 4    63.64%          66                24    63.64%          10                 6    40.00%
easylog/record.hpp                                    12                 1    91.67%          54                 7    87.04%          14                 3    78.57%
struct_pack/struct_pack.hpp                           11                 3    72.73%          69                13    81.16%           2                 1    50.00%
struct_pack/struct_pack/error_code.h                   3                 3     0.00%          21                21     0.00%          10                10     0.00%
struct_pack/struct_pack/md5_constexpr.hpp             20                20     0.00%         163               163     0.00%           0                 0         -
struct_pack/struct_pack/reflection.h                   2                 0   100.00%         549                12    97.81%           0                 0         -
struct_pack/struct_pack/struct_pack_impl.hpp          44                14    68.18%        1105               260    76.47%         100                48    52.00%
struct_pack/struct_pack/tuple.hpp                      1                 1     0.00%           1                 1     0.00%           0                 0         -
util/expected.hpp                                     61                 6    90.16%         171                25    85.38%          28                 6    78.57%
util/magic_names.hpp                                   1                 1     0.00%          11                11     0.00%           0                 0         -
util/meta_string.hpp                                  11                 5    54.55%          50                30    40.00%           8                 0   100.00%
util/string_finder.hpp                                 2                 2     0.00%          11                11     0.00%           0                 0         -
util/type_traits.h                                     1                 0   100.00%           9                 0   100.00%           0                 0         -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                335                79    76.42%        4076               800    80.37%         604               244    59.60%

@qicosmos qicosmos closed this Feb 6, 2023
@poor-circle poor-circle reopened this Feb 7, 2023
@github-actions
Copy link

github-actions bot commented Feb 7, 2023

Code Coverage Report
for detail, goto summary download Artifacts

Filename                                                    Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
asio_util/asio_coro_util.hpp                                       36                 2    94.44%         166                 2    98.80%           0                 0         -
asio_util/asio_util.hpp                                             3                 1    66.67%          17                 5    70.59%           0                 0         -
asio_util/io_context_pool.hpp                                       8                 3    62.50%          50                12    76.00%          10                 1    90.00%
coro_rpc/coro_rpc/common_service.hpp                                3                 0   100.00%          55                 0   100.00%          26                 8    69.23%
coro_rpc/coro_rpc/connection.hpp                                    4                 0   100.00%          63                 1    98.41%          10                 2    80.00%
coro_rpc/coro_rpc/coro_connection.hpp                              22                 2    90.91%         319                27    91.54%         118                38    67.80%
coro_rpc/coro_rpc/coro_rpc_client.hpp                              28                 3    89.29%         446                57    87.22%         122                41    66.39%
coro_rpc/coro_rpc/coro_rpc_server.hpp                              22                 0   100.00%         227                20    91.19%          82                36    56.10%
coro_rpc/coro_rpc/default_config/struct_pack_protocol.hpp           3                 0   100.00%           9                 0   100.00%           0                 0         -
coro_rpc/coro_rpc/router_impl.hpp                                  13                 0   100.00%         154                17    88.96%          36                18    50.00%
coro_rpc/coro_rpc/rpc_execute.hpp                                   6                 0   100.00%         200                 0   100.00%           4                 1    75.00%
easylog/appender.hpp                                                6                 6     0.00%          71                71     0.00%          28                28     0.00%
easylog/easylog.h                                                   9                 2    77.78%          57                15    73.68%          10                 6    40.00%
easylog/record.hpp                                                 12                 1    91.67%          54                 7    87.04%          14                 3    78.57%
struct_pack/struct_pack.hpp                                        10                 3    70.00%          63                13    79.37%           2                 1    50.00%
struct_pack/struct_pack/error_code.h                                3                 3     0.00%          21                21     0.00%          10                10     0.00%
struct_pack/struct_pack/md5_constexpr.hpp                          20                19     5.00%         163               162     0.61%           0                 0         -
struct_pack/struct_pack/reflection.h                                2                 0   100.00%         549                12    97.81%           0                 0         -
struct_pack/struct_pack/struct_pack_impl.hpp                       44                11    75.00%        1101               231    79.02%         100                43    57.00%
struct_pack/struct_pack/tuple.hpp                                   1                 1     0.00%           1                 1     0.00%           0                 0         -
util/expected.hpp                                                  61                 6    90.16%         171                25    85.38%          28                 6    78.57%
util/magic_names.hpp                                                1                 1     0.00%          11                11     0.00%           0                 0         -
util/meta_string.hpp                                               11                 5    54.55%          50                30    40.00%           8                 0   100.00%
util/string_finder.hpp                                              2                 2     0.00%          11                11     0.00%           0                 0         -
util/type_traits.h                                                  1                 0   100.00%           9                 0   100.00%           0                 0         -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                             331                71    78.55%        4038               751    81.40%         608               242    60.20%

@github-actions
Copy link

github-actions bot commented Feb 8, 2023

Code Coverage Report
for detail, goto summary download Artifacts

Filename                                                    Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
asio_util/asio_coro_util.hpp                                       35                 2    94.29%         158                 2    98.73%           2                 0   100.00%
asio_util/asio_util.hpp                                             3                 1    66.67%          20                 7    65.00%           2                 1    50.00%
asio_util/io_context_pool.hpp                                       8                 3    62.50%          50                12    76.00%          10                 1    90.00%
coro_rpc/coro_rpc/common_service.hpp                                3                 0   100.00%          55                 0   100.00%          26                 8    69.23%
coro_rpc/coro_rpc/connection.hpp                                    4                 0   100.00%          63                 1    98.41%          10                 2    80.00%
coro_rpc/coro_rpc/coro_connection.hpp                              22                 2    90.91%         317                31    90.22%         114                38    66.67%
coro_rpc/coro_rpc/coro_rpc_client.hpp                              27                 2    92.59%         424                46    89.15%         106                36    66.04%
coro_rpc/coro_rpc/coro_rpc_server.hpp                              22                 0   100.00%         227                20    91.19%          82                36    56.10%
coro_rpc/coro_rpc/default_config/struct_pack_protocol.hpp           3                 0   100.00%           9                 0   100.00%           0                 0         -
coro_rpc/coro_rpc/router_impl.hpp                                  13                 0   100.00%         154                17    88.96%          36                18    50.00%
coro_rpc/coro_rpc/rpc_execute.hpp                                   6                 0   100.00%         200                 0   100.00%           4                 1    75.00%
easylog/appender.hpp                                                6                 6     0.00%          71                71     0.00%          28                28     0.00%
easylog/easylog.h                                                   9                 2    77.78%          57                15    73.68%          10                 5    50.00%
easylog/record.hpp                                                 12                 1    91.67%          55                 8    85.45%          14                 3    78.57%
struct_pack/struct_pack.hpp                                        10                 3    70.00%          63                13    79.37%           2                 1    50.00%
struct_pack/struct_pack/error_code.h                                3                 3     0.00%          21                21     0.00%          10                10     0.00%
struct_pack/struct_pack/md5_constexpr.hpp                          20                19     5.00%         163               162     0.61%           0                 0         -
struct_pack/struct_pack/reflection.h                                2                 0   100.00%         549                12    97.81%           0                 0         -
struct_pack/struct_pack/struct_pack_impl.hpp                       44                11    75.00%        1105               231    79.10%         100                40    60.00%
struct_pack/struct_pack/tuple.hpp                                   1                 1     0.00%           1                 1     0.00%           0                 0         -
util/expected.hpp                                                  61                 6    90.16%         171                25    85.38%          28                 6    78.57%
util/magic_names.hpp                                                1                 1     0.00%          11                11     0.00%           0                 0         -
util/meta_string.hpp                                               11                 5    54.55%          50                30    40.00%           8                 0   100.00%
util/string_finder.hpp                                              2                 2     0.00%          11                11     0.00%           0                 0         -
util/type_traits.h                                                  1                 0   100.00%           9                 0   100.00%           0                 0         -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                             329                70    78.72%        4014               747    81.39%         592               234    60.47%

@poor-circle poor-circle closed this Jul 5, 2023
@qicosmos qicosmos deleted the test_for_win branch November 1, 2023 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants