From c3931628608eb6c0ea4c1ffa880d32bf388dbc0a Mon Sep 17 00:00:00 2001 From: Maor Blaustein Date: Mon, 27 May 2024 19:07:44 +0300 Subject: [PATCH] Fix podified SGL CLI testing Adjust testing security group logging commands execution to use correct ssh client on podified/devstack. Change-Id: I43aa4c291226791798fb953a3acdcc4f0b2df92e --- .../tests/scenario/test_security_group_logging.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py index e57d0d6..222f0af 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_security_group_logging.py @@ -427,7 +427,9 @@ class BaseSecGroupLoggingTest( cmds.pop(0) stdout_patterns.pop(0) for cmd, ptn in zip(cmds, stdout_patterns): - self.validate_command('bash -c "' + prefix + cmd + '"', ptn) + self.validate_command( + 'bash -c "' + prefix + cmd + '"', ptn, + ssh_client=self.master_node_client) def _test_only_dropped_traffic_logged(self): """This scenario verifies that only the log entries of dropped traffic