From 4f975223dc166ff2dd6def5d8cd26e310583211d Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Sun, 3 Oct 2021 14:36:02 +0200 Subject: [PATCH] L2SS-357: Let unb2 sim test connect to the correct unb2 simulator address --- devices/integration_test/client/test_unb2_sim.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devices/integration_test/client/test_unb2_sim.py b/devices/integration_test/client/test_unb2_sim.py index 678930cd5..227e031e3 100644 --- a/devices/integration_test/client/test_unb2_sim.py +++ b/devices/integration_test/client/test_unb2_sim.py @@ -20,11 +20,12 @@ class TestUNB2Sim(base.IntegrationTestCase): def test_opcua_connection(self): """Check if we can connect to unb2-sim""" - client = Client("opc.tcp://recv-sim:4842") + client = Client("opc.tcp://unb2-sim:4844") root_node = None + client.connect() + try: - client.connect() root_node = client.get_root_node() finally: client.disconnect() -- GitLab