Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
684ca6da
Commit
684ca6da
authored
3 years ago
by
Stefano Di Frischia
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into
L2SS-574
-move-hbat-code-to-recv
parents
de2e519b
b299cff8
No related branches found
Branches containing commit
No related tags found
1 merge request
!234
Resolve L2SS-574 "Move hbat code to recv"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sbin/run_integration_test.sh
+2
-4
2 additions, 4 deletions
sbin/run_integration_test.sh
tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_beam.py
+3
-0
3 additions, 0 deletions
...ationcontrol/integration_test/devices/test_device_beam.py
with
5 additions
and
4 deletions
sbin/run_integration_test.sh
+
2
−
4
View file @
684ca6da
...
...
@@ -29,6 +29,7 @@ sleep 60
# Do not remove `bash`, otherwise statement ignored by gitlab ci shell!
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/LOFAR_ConfigDb.json
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/stations/simulators_ConfigDb.json
#bash "${LOFAR20_DIR}"/sbin/update_ConfigDb.sh "${LOFAR20_DIR}"/CDB/integration_ConfigDb.json
cd
"
$LOFAR20_DIR
/docker-compose"
||
exit
1
make start sdptr-sim recv-sim unb2-sim apsct-sim apspu-sim
...
...
@@ -44,10 +45,7 @@ sleep 60
# Start the integration test
cd
"
$LOFAR20_DIR
/docker-compose"
||
exit
1
make start integration-test
# Give devices time to restart
sleep
60
make up integration-test
# Run the integration test with the output displayed on stdout
docker start
-a
"
${
CONTAINER_NAME_PREFIX
}
"
integration-test
This diff is collapsed.
Click to expand it.
tangostationcontrol/tangostationcontrol/integration_test/devices/test_device_beam.py
+
3
−
0
View file @
684ca6da
...
...
@@ -7,6 +7,7 @@
# Distributed under the terms of the APACHE license.
# See LICENSE.txt for more info.
import
time
import
numpy
from
tangostationcontrol.integration_test.device_proxy
import
TestDeviceProxy
...
...
@@ -47,6 +48,8 @@ class TestDeviceBeam(AbstractTestBases.TestDeviceBase):
# HBAT_bf_delay_step_delays = recv_proxy.get_hbat_bf_delay_step_delays()
# HBAT_bf_delays = self.proxy._calculate_HBAT_bf_delays(HBAT_delays, HBAT_signal_input_delays, HBAT_bf_delay_step_delays)
# self.assertNotEqual(HBAT_delays, HBAT_bf_delays)
time
.
sleep
(
3
)
# Verify writing operation does not lead to errors
self
.
proxy
.
HBAT_set_pointing
(
numpy
.
array
([[
"
J2000
"
,
"
0deg
"
,
"
0deg
"
]]
*
96
).
flatten
())
# write values to RECV
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment