diff --git a/test/opcua_test_cases.py b/test/opcua_test_cases.py index ce3764ef6f279b4abad93b0fb1631570bb3afa2e..8fa3d4ad18fe725d1f87ac3a9600f9e418936e24 100644 --- a/test/opcua_test_cases.py +++ b/test/opcua_test_cases.py @@ -1,4 +1,4 @@ -from epics import PV +from epics import PV, ca from time import sleep from run_iocsh import IOC from os import environ @@ -189,6 +189,8 @@ def test_inst(): # Check server is stopped assert not test_inst.isServerRunning + ca.clear_cache() + # test fixture for use with timezone server @pytest.fixture(scope="function") @@ -214,6 +216,8 @@ def test_inst_TZ(): # Check server is stopped assert not test_inst_TZ.isServerRunning + ca.clear_cache() + class TestConnectionTests: