diff options
| author | Simon <965089+sarthurdev@users.noreply.github.com> | 2026-09-20 19:55:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-20 19:55:49 +0200 |
| commit | e559637d34e0169905ecb1c6875e8a67b38d4678 (patch) | |
| tree | 78c1d4b06e87e04d1855188823a579a3b424855b /smoketest/scripts/cli/test_service_https.py | |
| parent | 27383e4f15180184a45dfcafe36b7a4ca326370f (diff) | |
| parent | 13189cd9e82f4c4cf8ce90bfdef327a59e2e5716 (diff) | |
| download | vyos-1x-e559637d34e0169905ecb1c6875e8a67b38d4678.tar.gz vyos-1x-e559637d34e0169905ecb1c6875e8a67b38d4678.zip | |
Merge pull request #5490 from c-po/smoketest-vrf-process-fix
smoketest: T9316: match VRF process names by prefix, not equality
Diffstat (limited to 'smoketest/scripts/cli/test_service_https.py')
| -rwxr-xr-x | smoketest/scripts/cli/test_service_https.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_service_https.py b/smoketest/scripts/cli/test_service_https.py index 93a4dff3d..e7a2ba60a 100755 --- a/smoketest/scripts/cli/test_service_https.py +++ b/smoketest/scripts/cli/test_service_https.py @@ -29,7 +29,6 @@ from vyos.utils.file import read_file from vyos.utils.file import write_file from vyos.utils.process import call from vyos.utils.process import process_named_running -from vyos.utils.network import get_vrf_pids from vyos.pki import CERT_BEGIN from vyos.pki import encode_certificate from vyos.pki import load_certificate @@ -248,8 +247,7 @@ class TestHTTPSService(VyOSUnitTestSHIM.TestCase): self.cli_commit() # Verify nginx is running inside the VRF - vrf_procs = [name for _, name in get_vrf_pids(vrf)] - self.assertIn(PROCESS_NAME, vrf_procs) + self.verify_process_in_vrf(PROCESS_NAME, vrf) self.cli_delete(['interfaces', 'dummy', interface]) self.cli_delete(['vrf', 'name', vrf]) |
