diff --git a/tests/simulators/carla/test_actions.py b/tests/simulators/carla/test_actions.py index 422a464a0..5affdcda6 100644 --- a/tests/simulators/carla/test_actions.py +++ b/tests/simulators/carla/test_actions.py @@ -44,7 +44,7 @@ def getCarlaSimulator(getAssetPath): f"bash {CARLA_ROOT}/CarlaUE4.sh -RenderOffScreen", shell=True ) - for _ in range(360): + for _ in range(600): if isCarlaServerRunning(): break time.sleep(1) @@ -64,7 +64,7 @@ def getCarlaSimulator(getAssetPath): def _getCarlaSimulator(town): start_connect_time = time.time() path = os.path.join(base, f"{town}.xodr") - simulator = CarlaSimulator(map_path=path, carla_map=town, timeout=180) + simulator = CarlaSimulator(map_path=path, carla_map=town, timeout=60) end_connect_time = time.time() connect_elapsed_time = end_connect_time - start_connect_time print(f"CARLA connection established in {connect_elapsed_time:.2f} seconds.")