From 76698ce69f61669f79012e4c107005edda29e3ef Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 17 Jan 2023 15:20:39 +0100 Subject: smoketest: ntp: T3008: verify chrony runs in appropriate VRF --- smoketest/scripts/cli/test_service_ntp.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'smoketest') diff --git a/smoketest/scripts/cli/test_service_ntp.py b/smoketest/scripts/cli/test_service_ntp.py index d4793adb6..3ccd19a31 100755 --- a/smoketest/scripts/cli/test_service_ntp.py +++ b/smoketest/scripts/cli/test_service_ntp.py @@ -135,6 +135,10 @@ class TestSystemNTP(VyOSUnitTestSHIM.TestCase): self.cli_commit() + # Check for process in VRF + tmp = cmd(f'ip vrf pids {vrf_name}') + self.assertIn(PROCESS_NAME, tmp) + self.cli_delete(['vrf', 'name', vrf_name]) if __name__ == '__main__': -- cgit v1.2.3