From 032247ef245b984d4bc4b9230b2382edc0028b4c Mon Sep 17 00:00:00 2001
From: Steve Peters <scpeters@openrobotics.org>
Date: Wed, 24 May 2023 11:31:33 -0700
Subject: [PATCH] Fix test flakiness with --lockstep

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
---
 test/integration/camera_sensor.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integration/camera_sensor.cc b/test/integration/camera_sensor.cc
index 990920e6f3..bea9cf2596 100644
--- a/test/integration/camera_sensor.cc
+++ b/test/integration/camera_sensor.cc
@@ -1521,7 +1521,7 @@ TEST_F(CameraSensor, LensFlareWideAngleCamera)
 /////////////////////////////////////////////////
 TEST_F(CameraSensor, LensFlareWideAngleCameraOcclusion)
 {
-  Load("worlds/lensflare_wideangle_cam.world", true);
+  LoadArgs(" --lockstep -u worlds/lensflare_wideangle_cam.world");
 
   // Make sure the render engine is available.
   if (rendering::RenderEngine::Instance()->GetRenderPathType() ==