From 20210cceace987ffc2092c4579d9385318ee94eb Mon Sep 17 00:00:00 2001 From: dgsudharsan Date: Thu, 16 Feb 2023 22:12:47 +0000 Subject: [PATCH] [config reload]Modifying config reload tests to align with latest config reload enhancement Change-Id: I69203b17b392da28d21c750b28f0038d1dd5700d --- tests/common/config_reload.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/common/config_reload.py b/tests/common/config_reload.py index 9759d8e6b8..499f80667c 100644 --- a/tests/common/config_reload.py +++ b/tests/common/config_reload.py @@ -43,16 +43,6 @@ def config_system_checks_passed(duthost): if int(out['stdout'].strip()) < 120: return False - logging.info("Checking if delayed services are up") - out = duthost.shell("systemctl list-dependencies sonic-delayed.target --plain |sed '1d'") - status = duthost.shell("systemctl is-enabled {}".format(out['stdout'].replace("\n", " "))) - services = [line.strip() for line in out['stdout'].splitlines()] - state = [line.strip() for line in status['stdout'].splitlines()] - for service in services: - if state[services.index(service)] == "enabled": - out1 = duthost.shell("systemctl show {} --property=LastTriggerUSecMonotonic --value".format(service)) - if out1['stdout'].strip() == "0": - return False logging.info("All checks passed") return True