Commit Graph

3 Commits

Author SHA1 Message Date
15f3baaafe Fix TempCo integration tests with thread-based async server
All checks were successful
CI / Lint (push) Successful in 3s
CI / Type Check (push) Successful in 17s
CI / Test (push) Successful in 3m20s
CI / Release (push) Has been skipped
Redesign integration test architecture to eliminate async/sync deadlock:
- Run SimulationServer in dedicated background thread with own event loop
- Rewrite TempCo tests as fully synchronous (no @pytest.mark.asyncio)
- Add ServerThread fixture in tests/integration/conftest.py
- Fix Unicode encoding errors (replace deg, mu, +/- with ASCII)
- Optimize temperature points for faster settling (23C, 25C, 27C)

All 3 TempCo integration tests now passing in ~5 minutes total.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 02:19:33 +00:00
3ea5f1ea32 WIP: Use thread pool executor for integration tests
Some checks failed
CI / Release (push) Has been skipped
CI / Lint (push) Successful in 4s
CI / Type Check (push) Successful in 18s
CI / Test (push) Failing after 10s
Move synchronous test execution to thread pool executor to avoid
blocking the async event loop. This prevents deadlocks when sync
client code tries to communicate with async server in same loop.

Note: Integration tests still experiencing timeouts - needs further
investigation. Unit tests and TCP server communication are working.
2025-12-03 01:12:05 +00:00
a412d04820 Add TempCo integration tests 2025-12-03 00:19:11 +00:00