Skip to content

Commit eca7d56

Browse files
committed
sq
Signed-off-by: Egor Lazarchuk <[email protected]>
1 parent 0683678 commit eca7d56

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/host_tools/network.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
from framework import utils
1515

1616

17-
class SSHConnectionException(Exception):
18-
"""
19-
Specific exception for ssh errors
20-
"""
21-
pass
22-
23-
2417
class SSHConnection:
2518
"""
2619
SSHConnection encapsulates functionality for microVM SSH interaction.
@@ -97,7 +90,7 @@ def scp_get(self, remote_path, local_path, recursive=False):
9790
self._scp(self.remote_path(remote_path), local_path, opts)
9891

9992
@retry(
100-
retry=retry_if_exception_type(SSHConnectionException),
93+
retry=retry_if_exception_type(ChildProcessError),
10194
wait=wait_fixed(0.5),
10295
stop=stop_after_attempt(20),
10396
reraise=True,

0 commit comments

Comments
 (0)