Skip to content

Commit f73d584

Browse files
chore: increase default timeout for git clone project (#577)
1 parent b8aac16 commit f73d584

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/aap_eda/services/project/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _execute_cmd(self, cmd: Iterable[str]):
165165

166166

167167
class GitExecutor:
168-
DEFAULT_TIMEOUT: Final = 30
168+
DEFAULT_TIMEOUT: Final = 120
169169
ENVIRON: dict = {
170170
"GIT_TERMINAL_PROMPT": "0",
171171
}

tests/unit/test_git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def test_git_executor_call(run_mock: mock.Mock):
187187
},
188188
stdout=subprocess.PIPE,
189189
stderr=subprocess.PIPE,
190-
timeout=30,
190+
timeout=120,
191191
cwd=None,
192192
)
193193

0 commit comments

Comments
 (0)