This commit is contained in:
@@ -286,11 +286,13 @@ def test_pvpreload_end_to_end(tmp_path, caplog):
|
||||
with open(preload_file, "wb") as f:
|
||||
std_pickle.dump([pvname_6], f)
|
||||
|
||||
epics.pv._PVcache_.clear()
|
||||
assert not is_pv_in_cache(pvname_6)
|
||||
|
||||
# Attendre que le prochain preload recharge PV6
|
||||
time.sleep(0.2)
|
||||
with caplog.at_level("DEBUG"):
|
||||
pvpreload()
|
||||
time.sleep(0.2)
|
||||
|
||||
assert is_pv_in_cache(pvname_6), "PV6 non rechargé par preload"
|
||||
|
||||
# Vérifie les logs
|
||||
|
||||
Reference in New Issue
Block a user