1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/console/tests
catborise 1fac3de23c fix(console): serial sessions start under a lock and say why they are refused
- socketiod's handlers run on their own threads. A connection is now
  admitted under a lock, so two at once can no longer both open a VM's
  console or pass the session cap. A session's terminal is used and closed
  only under its own lock while it is open: a closed descriptor's number,
  taken again by a new session, never receives another session's input
  or gives it the other's output.
- A refused connection says why: serial console off, the link expired,
  the VM's console open in another window, too many consoles. The page
  shows it instead of "refused".
- The page no longer retries on its own with a token that has expired
  after two minutes; Reconnect loads a new page. Input the browser cannot
  encode no longer raises in the daemon.
2026-10-26 19:46:41 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_cli_parsers.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_live_serial.py test: live tests with one host for TCP and SSH, and order-independent migration fakes 2026-10-18 11:53:06 +03:00
test_socketiod.py fix(console): serial sessions start under a lock and say why they are refused 2026-10-26 19:46:41 +03:00
test_socketiod_child.py refactor(console): socketiod on gunicorn threads instead of eventlet 2026-10-17 20:36:58 +03:00
test_sshtunnels.py fix(console): an SSH compute's VNC console goes through ssh -W 2026-10-26 19:21:22 +03:00
test_views.py fix(console): an SSH compute's VNC console goes through ssh -W 2026-10-26 19:21:22 +03:00