Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Epic Link:
-
Sprint:TSSW Sprint - Oct 24 - Nov 07
-
Team:Telescope and Site
-
Urgent?:No
Description
Unit tests in ts_tcpip were broken, possibly by a timing change in Python. Make the tests robust by awaiting server.connect_task after making a client connection and before reading, writing, or checking connection state.
Also test that only one client connects and the others are closed if several try to connect at the same time.
Finally, modernize unit tests to use bare assert.
Attachments
Issue Links
- relates to
-
DM-36652 Make sure the ESS CSCs can be restarted without the need to redeploy them via ArgoCD.
- Done
Pull request: https://github.com/lsst-ts/ts_tcpip/pull/17