From 23af8071752cc4cebe59104ad9ba7d59dbb3c5fe Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 5 Jul 2024 08:34:03 +0200 Subject: smoketest: T6539: remove explicit test for non existing global log entry Commit dd5908eac ("T6539: add logging options to load-balancer reverse-proxy") added CLI commands to add custom log entries for frontend and backend servers as well as a global log directive. Remove explicit test code for no longer always present "global log" directive. (cherry picked from commit b71481f7de93d43ff7208ff76cbc6b829b8951b2) --- smoketest/scripts/cli/test_load-balancing_reverse-proxy.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'smoketest/scripts/cli/test_load-balancing_reverse-proxy.py') diff --git a/smoketest/scripts/cli/test_load-balancing_reverse-proxy.py b/smoketest/scripts/cli/test_load-balancing_reverse-proxy.py index db43a78ec..34f77b95d 100755 --- a/smoketest/scripts/cli/test_load-balancing_reverse-proxy.py +++ b/smoketest/scripts/cli/test_load-balancing_reverse-proxy.py @@ -465,8 +465,6 @@ class TestLoadBalancingReverseProxy(VyOSUnitTestSHIM.TestCase): # Ensure default logging configuration is present config = read_file(HAPROXY_CONF) - self.assertIn('log /dev/log local0', config) - self.assertIn('log /dev/log local1 notice', config) # Test global-parameters logging options self.cli_set(base_path + ['global-parameters', 'logging', 'facility', 'local1', 'level', 'err']) -- cgit v1.2.3