Commit e3264250 authored by Ivan Tyagov's avatar Ivan Tyagov

WIP

parent f0940a22
......@@ -12,4 +12,4 @@ md5sum = cbaa8e36097f36caf1a377fa71341a09
[test_beremiz.py]
filename = test_beremiz.py
md5sum = 7c0f338d342230d6eb4671a3121a7aa1
md5sum = 24e8c47c3b8cb869619e2f89992fef23
......@@ -112,10 +112,8 @@ class BeremizTest(EndToEndTestCase):
cls.waitUntilGreen(instance_name)
connection_dict = cls.getInstanceInfos(instance_name).connection_dict
# supply / request beremiz-runtime
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"
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,
......@@ -123,10 +121,11 @@ class BeremizTest(EndToEndTestCase):
partition_parameter_kw=parameter_dict)
cls.waitUntilGreen(instance_name)
connection_dict = cls.getInstanceInfos(instance_name).connection_dict
print(connection_dict)
def test_plc_increment_run(self):
NUMBER_OF_CHECKS = 100
TIMEOUT = 2
TIMEOUT = 2
OPC_UA_ADDRESS = "opc.tcp://0.0.0.0:4840/"
OPC_UA_IDENTIFIER = "ns=1;s=i2c0.relay0"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment