Fix smoke test warnings

This commit is contained in:
nsubiron 2019-07-10 17:44:29 +02:00
parent c821fc0e7e
commit 8124f8f9d2
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ class TestSynchronousMode(SyncSmokeTest):
def test_reloading_map(self): def test_reloading_map(self):
settings = carla.WorldSettings( settings = carla.WorldSettings(
no_rendering_mode=False, no_rendering_mode=False,
synchronous_mode=True) synchronous_mode=True,
fixed_delta_seconds=0.05)
for _ in range(0, 4): for _ in range(0, 4):
self.world = self.client.reload_world() self.world = self.client.reload_world()
self.world.apply_settings(settings) self.world.apply_settings(settings)