Speed up integration tests with 100x time scale
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user