From dfe2da47673081af2b8f36f2ac9328eaf9e254e3 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Sun, 27 Feb 2022 11:01:05 +0100
Subject: [PATCH] L2SS-661: Remove wait that is now unnecessary due to better
 thread Condition use

---
 .../integration_test/default/devices/test_device_beam.py   | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_beam.py b/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_beam.py
index f529c5472..3a4dfdfb1 100644
--- a/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_beam.py
+++ b/tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_beam.py
@@ -160,13 +160,6 @@ class TestDeviceBeam(AbstractTestBases.TestDeviceBase):
         new_pointings = [("J2000",f"{tile}deg","0deg") for tile in range(96)]
         self.proxy.HBAT_pointing_direction_RW = new_pointings
 
-        # wait for tracking thread to pick up and set. should be almost instant
-        for i in range(20):
-            if self.proxy.HBAT_pointing_direction_R[0][0] == "J2000":
-                break
-
-            time.sleep(0.5)
-
         # check pointing
         self.assertListEqual(new_pointings, list(self.proxy.HBAT_pointing_direction_R))
 
-- 
GitLab