Fix podified SGL CLI testing

Adjust testing security group logging commands execution
to use correct ssh client on podified/devstack.

Change-Id: I43aa4c291226791798fb953a3acdcc4f0b2df92e
This commit is contained in:
Maor Blaustein 2024-05-27 19:07:44 +03:00
parent cb3acd02e9
commit c393162860

View File

@ -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