diff options
Diffstat (limited to 'smoketest/scripts/cli/base_vyostest_shim.py')
-rw-r--r-- | smoketest/scripts/cli/base_vyostest_shim.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/base_vyostest_shim.py b/smoketest/scripts/cli/base_vyostest_shim.py index f0674f187..edf940efd 100644 --- a/smoketest/scripts/cli/base_vyostest_shim.py +++ b/smoketest/scripts/cli/base_vyostest_shim.py @@ -94,18 +94,14 @@ class VyOSUnitTestSHIM: def cli_commit(self): if self.debug: print('commit') + self._session.commit() # During a commit there is a process opening commit_lock, and run() # returns 0 while run(f'sudo lsof -nP {commit_lock}') == 0: sleep(0.250) - # Return the output of commit - # Necessary for testing Warning cases - out = self._session.commit() # Wait for CStore completion for fast non-interactive commits sleep(self._commit_guard_time) - return out - def op_mode(self, path : list) -> None: """ Execute OP-mode command and return stdout |