Commit d08d2eec authored by Ivan Tyagov's avatar Ivan Tyagov

WIP

parent 888e2c98
...@@ -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 = dc824be1076b5eee1e551f19103acac3 md5sum = 81ea8c6b16832154e86cc8077e2fd29b
...@@ -113,14 +113,14 @@ class BeremizTest(EndToEndTestCase): ...@@ -113,14 +113,14 @@ class BeremizTest(EndToEndTestCase):
super().setUpClass() super().setUpClass()
# supply needed software releases # supply needed software releases
cls.supply(self.coupler_release, self.computer_id, state="available") cls.supply(cls.coupler_release, cls.computer_id, state="available")
cls.supply(self.runtime_release, self.computer_id, state="available") cls.supply(cls.runtime_release, cls.computer_id, state="available")
# supply / request coupler # supply / request coupler
instance_name = time.strftime('e2e-test-coupler-%Y-%B-%d-%H:%M:%S') instance_name = time.strftime('e2e-test-coupler-%Y-%B-%d-%H:%M:%S')
parameter_dict = {"mode":1, parameter_dict = {"mode":1,
"network_interface": "192.168.0.0"} "network_interface": "192.168.0.0"}
cls.request(self.coupler_release, cls.request(cls.coupler_release,
instance_name, instance_name,
partition_parameter_kw=parameter_dict) partition_parameter_kw=parameter_dict)
cls.waitUntilGreen(instance_name, 180) cls.waitUntilGreen(instance_name, 180)
...@@ -131,7 +131,7 @@ class BeremizTest(EndToEndTestCase): ...@@ -131,7 +131,7 @@ class BeremizTest(EndToEndTestCase):
# 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')
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(self.runtime_release, cls.request(cls.runtime_release,
instance_name, instance_name,
partition_parameter_kw=parameter_dict) partition_parameter_kw=parameter_dict)
cls.waitUntilGreen(instance_name, 180) cls.waitUntilGreen(instance_name, 180)
...@@ -140,7 +140,7 @@ class BeremizTest(EndToEndTestCase): ...@@ -140,7 +140,7 @@ class BeremizTest(EndToEndTestCase):
def test_plc_increment_run(self): def test_plc_increment_run(self):
NUMBER_OF_CHECKS = 100 NUMBER_OF_CHECKS = 100
TIMEOUT = 1 TIMEOUT = 2
OPC_UA_IDENTIFIER = "ns=1;s=i2c0.relay0" OPC_UA_IDENTIFIER = "ns=1;s=i2c0.relay0"
# give it some time for services(runtime & coupler) to warm up, connect and run # give it some time for services(runtime & coupler) to warm up, connect and run
......
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