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
a4272831
Commit
a4272831
authored
2 years ago
by
Taya Snijder
Browse files
Options
Downloads
Patches
Plain Diff
removed docker device integration test
parent
90834818
No related branches found
No related tags found
1 merge request
!434
Resolve L2SS-982 "Update docker device"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_docker.py
+0
-35
0 additions, 35 deletions
...ol/integration_test/default/devices/test_device_docker.py
with
0 additions
and
35 deletions
tangostationcontrol/tangostationcontrol/integration_test/default/devices/test_device_docker.py
deleted
100644 → 0
+
0
−
35
View file @
90834818
# -*- coding: utf-8 -*-
#
# This file is part of the LOFAR 2.0 Station Software
#
#
#
# Distributed under the terms of the APACHE license.
# See LICENSE.txt for more info.
from
.base
import
AbstractTestBases
import
time
class
TestDeviceDocker
(
AbstractTestBases
.
TestDeviceBase
):
def
setUp
(
self
):
super
().
setUp
(
"
STAT/Docker/1
"
)
def
test_toggle
(
self
):
"""
Test turning off and on a running docker container
"""
self
.
proxy
.
boot
()
# Turn the recv container off and check that it is indeed turned off
self
.
proxy
.
device_recv_RW
=
False
time
.
sleep
(
10
)
self
.
assertEqual
(
self
.
device_recv_R
,
False
)
# Turn the recv container on and check that it is indeed turned on
self
.
proxy
.
device_recv_RW
=
True
self
.
assertEqual
(
self
.
device_recv_R
,
True
)
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