Skip to content

Commit

Permalink
sq
Browse files Browse the repository at this point in the history
Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
  • Loading branch information
ShadowCurse committed Dec 4, 2024
1 parent 0683678 commit eca7d56
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/host_tools/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@
from framework import utils


class SSHConnectionException(Exception):
"""
Specific exception for ssh errors
"""
pass


class SSHConnection:
"""
SSHConnection encapsulates functionality for microVM SSH interaction.
Expand Down Expand Up @@ -97,7 +90,7 @@ def scp_get(self, remote_path, local_path, recursive=False):
self._scp(self.remote_path(remote_path), local_path, opts)

@retry(
retry=retry_if_exception_type(SSHConnectionException),
retry=retry_if_exception_type(ChildProcessError),
wait=wait_fixed(0.5),
stop=stop_after_attempt(20),
reraise=True,
Expand Down

0 comments on commit eca7d56

Please sign in to comment.