Skip to content
Snippets Groups Projects
Commit 304f8dd4 authored by Corné Lukken's avatar Corné Lukken
Browse files

Merge branch 'L2SS-1814' into 'master'

L2SS-1814: Do not run digitalbeam performance test in setup

Closes L2SS-1814

See merge request !890
parents 828f6163 5fd0987d
No related branches found
No related tags found
1 merge request!890L2SS-1814: Do not run digitalbeam performance test in setup
...@@ -102,25 +102,6 @@ class TestDigitalbeamPerformance(base.IntegrationTestCase): ...@@ -102,25 +102,6 @@ class TestDigitalbeamPerformance(base.IntegrationTestCase):
self.assertTrue(proxy.state() is DevState.ON) self.assertTrue(proxy.state() is DevState.ON)
self.assertEqual(MAX_ANTENNA, proxy.nr_antennas_R) self.assertEqual(MAX_ANTENNA, proxy.nr_antennas_R)
# Insert verify that all attributes have been set across
# one another~
results = []
for _i in range(25):
start_time = time.monotonic_ns()
for proxy in beam_proxies:
proxy.set_pointing(self.POINTING_DIRECTION)
stop_time = time.monotonic_ns()
results.append(stop_time - start_time)
for beam in beam_proxies:
self.assertEqual(0, beam.Nr_update_pointing_exceptions_R)
logging.error(
f"Median {statistics.median(results) / 1.e9} Stdev "
f"{statistics.stdev(results) / 1.e9}"
)
def test_digitalbeam_performance(self): def test_digitalbeam_performance(self):
"""Test performance when manaully updating the pointing""" """Test performance when manaully updating the pointing"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment