Fix CI tests and speed up integration tests

- Speed up simulation 10x for integration tests (reduces test time from
  10+ minutes to ~2.5 minutes)
- Add small delays between TCP commands in tests for reliability
- Fix Gitea CI release job (use gitea.ref instead of github.ref)
- Revert write() error-check that was consuming query responses
This commit is contained in:
2025-11-26 11:21:49 +00:00
parent c2310ab93d
commit 58ccc5bc6f
3 changed files with 25 additions and 6 deletions

View File

@@ -125,6 +125,10 @@ def simulation_server() -> Generator[ServerConfig, None, None]:
server_thread = ServerThread(config)
server_thread.start()
# Speed up simulation for tests (10x faster)
if server_thread.server is not None:
server_thread.server.time_scale = 10.0
try:
yield config
finally: