1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/console/tests
catborise 060a3cc86b fix(console): a serial paste and its echo no longer wait on each other
- socketiod wrote input to the worker's terminal while holding the
  session's lock, and the write could wait for the worker; the output
  forwarder needs that lock. A large paste into a guest that echoes it
  could stop both for good. The terminal is now non-blocking: input is
  written as far as the worker takes it, and the wait for room is outside
  the lock.
- The terminal is raw from the start. Until the worker made it raw, it
  kept at most one 4 KiB line of a paste, and the worker's own setraw
  dropped what was typed meanwhile; the worker no longer sets it.
- A superuser's takeover ends the old worker, and waits for it, before
  starting the new one: libvirt gives a VM's console to one at a time.
- A resize while the worker ends no longer raises.
2026-10-26 23:52:37 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_consolecallback.py fix(console): a serial session follows its user's access; a superuser takes over 2026-10-26 19:46:41 +03:00
test_live_serial.py fix(console): a serial session follows its user's access; a superuser takes over 2026-10-26 19:46:41 +03:00
test_socketiod.py fix(console): a serial paste and its echo no longer wait on each other 2026-10-26 23:52:37 +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): a VM with a QEMU websocket port opens through novncd 2026-10-26 21:27:52 +03:00