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
e3264250
Commit
e3264250
authored
Oct 02, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
f0940a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
software/end-to-end-testing/buildout.hash.cfg
software/end-to-end-testing/buildout.hash.cfg
+1
-1
software/end-to-end-testing/test_beremiz.py
software/end-to-end-testing/test_beremiz.py
+2
-3
No files found.
software/end-to-end-testing/buildout.hash.cfg
View file @
e3264250
...
@@ -12,4 +12,4 @@ md5sum = cbaa8e36097f36caf1a377fa71341a09
...
@@ -12,4 +12,4 @@ md5sum = cbaa8e36097f36caf1a377fa71341a09
[test_beremiz.py]
[test_beremiz.py]
filename = test_beremiz.py
filename = test_beremiz.py
md5sum =
7c0f338d342230d6eb4671a3121a7aa1
md5sum =
24e8c47c3b8cb869619e2f89992fef23
software/end-to-end-testing/test_beremiz.py
View file @
e3264250
...
@@ -112,10 +112,8 @@ class BeremizTest(EndToEndTestCase):
...
@@ -112,10 +112,8 @@ class BeremizTest(EndToEndTestCase):
cls
.
waitUntilGreen
(
instance_name
)
cls
.
waitUntilGreen
(
instance_name
)
connection_dict
=
cls
.
getInstanceInfos
(
instance_name
).
connection_dict
connection_dict
=
cls
.
getInstanceInfos
(
instance_name
).
connection_dict
# supply / request beremiz-runtime
# supply / request beremiz-runtime
instance_name
=
time
.
strftime
(
'e2e-test-beremiz-runtime-%Y-%B-%d-%H:%M:%S'
)
instance_name
=
time
.
strftime
(
'e2e-test-beremiz-runtime-%Y-%B-%d-%H:%M:%S'
)
#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"
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"
}
parameter_dict
=
{
"runtime_plc_url"
:
"https://lab.nexedi.com/nexedi/osie/raw/master/Beremiz/beremiz_test_opc_ua/bin/beremiz_test_opc_ua.tgz"
}
cls
.
request
(
release
,
cls
.
request
(
release
,
...
@@ -123,10 +121,11 @@ class BeremizTest(EndToEndTestCase):
...
@@ -123,10 +121,11 @@ class BeremizTest(EndToEndTestCase):
partition_parameter_kw
=
parameter_dict
)
partition_parameter_kw
=
parameter_dict
)
cls
.
waitUntilGreen
(
instance_name
)
cls
.
waitUntilGreen
(
instance_name
)
connection_dict
=
cls
.
getInstanceInfos
(
instance_name
).
connection_dict
connection_dict
=
cls
.
getInstanceInfos
(
instance_name
).
connection_dict
print
(
connection_dict
)
def
test_plc_increment_run
(
self
):
def
test_plc_increment_run
(
self
):
NUMBER_OF_CHECKS
=
100
NUMBER_OF_CHECKS
=
100
TIMEOUT
=
2
TIMEOUT
=
2
OPC_UA_ADDRESS
=
"opc.tcp://0.0.0.0:4840/"
OPC_UA_ADDRESS
=
"opc.tcp://0.0.0.0:4840/"
OPC_UA_IDENTIFIER
=
"ns=1;s=i2c0.relay0"
OPC_UA_IDENTIFIER
=
"ns=1;s=i2c0.relay0"
...
...
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