From 33981f135b38c031f7ae95fb9a100c7b58c91331 Mon Sep 17 00:00:00 2001 From: Axel Date: Tue, 2 Mar 2021 16:41:41 +0100 Subject: [PATCH] Fixed smoke test. --- PythonAPI/test/smoke/test_determinism.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PythonAPI/test/smoke/test_determinism.py b/PythonAPI/test/smoke/test_determinism.py index 1dba3fff3..852abb6a8 100644 --- a/PythonAPI/test/smoke/test_determinism.py +++ b/PythonAPI/test/smoke/test_determinism.py @@ -117,7 +117,6 @@ class TestDeterminism(SmokeTest): # run simulation 1 vehicle_actor_list = self.spawn_vehicles(world, blueprint_transform_list) record_run1 = self.run_simulation(world, vehicle_actor_list) - traffic_manager.set_synchronous_mode(False) # reset for simulation 2 self.client.reload_world(False) @@ -129,9 +128,9 @@ class TestDeterminism(SmokeTest): #run simulation 2 vehicle_actor_list = self.spawn_vehicles(world, blueprint_transform_list) record_run2 = self.run_simulation(world, vehicle_actor_list) - traffic_manager.set_synchronous_mode(False) self.client.reload_world() + traffic_manager.set_synchronous_mode(False) world.apply_settings(old_settings) self.compare_records(record_run1, record_run2)