Speed up integration tests with 100x time scale
All checks were successful
CI / Lint (push) Successful in 4s
CI / Type Check (push) Successful in 18s
CI / Test (push) Successful in 36s
CI / Release (push) Has been skipped

This commit is contained in:
2025-12-03 23:01:33 +00:00
parent 63f50fbf9b
commit 764892749b

View File

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