Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos
Commits
117b48c2
Commit
117b48c2
authored
Sep 28, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
ddb4b4e2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
software/end-to-end-testing/buildout.hash.cfg
software/end-to-end-testing/buildout.hash.cfg
+1
-1
software/end-to-end-testing/software.cfg
software/end-to-end-testing/software.cfg
+1
-0
software/end-to-end-testing/test_beremiz.py
software/end-to-end-testing/test_beremiz.py
+11
-1
No files found.
software/end-to-end-testing/buildout.hash.cfg
View file @
117b48c2
...
...
@@ -12,4 +12,4 @@ md5sum = cbaa8e36097f36caf1a377fa71341a09
[test_beremiz.py]
filename = test_beremiz.py
md5sum =
4e77e52b53efb08665082f779fa3856f
md5sum =
912bf9ead34d0aaa144de078eb8bbb6c
software/end-to-end-testing/software.cfg
View file @
117b48c2
...
...
@@ -40,3 +40,4 @@ depends = ${lxml-python:egg}
eggs =
${pygolang:egg}
slapos.core
opcua
software/end-to-end-testing/test_beremiz.py
View file @
117b48c2
...
...
@@ -106,7 +106,17 @@ class BeremizTest(EndToEndTestCase):
#instance_name = 'e2e-test-beremiz-runtime' # avoid timestamp to reuse instance
release
=
"https://lab.nexedi.com/nexedi/slapos/raw/master/software/beremiz-runtime/software.cfg"
parameter_dict
=
{
"runtime_plc_url"
:
"https://lab.nexedi.com/nexedi/osie/raw/master/Beremiz/beremiz_test_opc_ua/bin/beremiz_test_opc_ua.tgz"
}
json_in_xml_parameters
=
{
'_'
:
json
.
dumps
(
parameter_dict
)}
cls
.
request
(
release
,
instance_name
,
partition_parameter_kw
=
parameter_dict
)
cls
.
waitUntilGreen
(
instance_name
)
connection_dict
=
cls
.
getInstanceInfos
(
instance_name
).
connection_dict
# supply / request coupler
instance_name
=
time
.
strftime
(
'e2e-test-coupler-%Y-%B-%d-%H:%M:%S'
)
release
=
"https://lab.nexedi.com/nexedi/slapos/raw/master/software/osie-coupler/software-dev.cfg"
parameter_dict
=
{
"mode"
:
1
,
"network_interface"
:
"192.168.0.0"
}
cls
.
request
(
release
,
instance_name
,
partition_parameter_kw
=
parameter_dict
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment