Skip to content

Conversation

@janiversen
Copy link
Collaborator

@janiversen janiversen commented Dec 12, 2022

as #1207 points out, there are a problem when stopping a client/server in some combinations.

add a new set of tests (test_server_task.py) that test 3 different scenarios:

  • Start server then close (server is in listen mode)
  • Start server then Start/read/stop client then stop server
  • Start server then Start/read client then stop server and finally stop client
    This is done for all protocols serial/tcp/tls/udp
    and for sync as well as async.

Since this seems to be a timing problem all tests will be run 10 times to provoke intermittent issues.

fixes #1207
fixes #1202
fixes #1198

@janiversen janiversen marked this pull request as draft December 12, 2022 09:24
@janiversen
Copy link
Collaborator Author

Current status:

  • there is a strange problem with windows (object deletion fails, due to hanging task)
  • async tls have problems especially on v3.8, this is known problems with async itself
  • test_examples.py needs to be updated.

@janiversen janiversen added this to the version 3.1 milestone Dec 12, 2022
@janiversen janiversen mentioned this pull request Dec 12, 2022
@janiversen janiversen force-pushed the test_server_task branch 25 times, most recently from 28e9c8d to 8bf64bb Compare December 14, 2022 17:20
@janiversen janiversen force-pushed the test_server_task branch 19 times, most recently from 2a4c9e9 to 3707a75 Compare December 20, 2022 16:29
@janiversen
Copy link
Collaborator Author

@janiversen janiversen closed this Jan 12, 2023
@janiversen janiversen deleted the test_server_task branch January 12, 2023 19:59
@janiversen janiversen mentioned this pull request Jan 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants