diff --git a/src/datacustomcode/token_provider.py b/src/datacustomcode/token_provider.py index 981aebf..856dafe 100644 --- a/src/datacustomcode/token_provider.py +++ b/src/datacustomcode/token_provider.py @@ -108,7 +108,7 @@ def _run_sf_command(args: list[str], description: str) -> dict: capture_output=True, text=True, check=True, - timeout=30, + timeout=120, ) except FileNotFoundError as exc: raise RuntimeError( diff --git a/tests/io/reader/test_sf_cli.py b/tests/io/reader/test_sf_cli.py index eca3a56..a225514 100644 --- a/tests/io/reader/test_sf_cli.py +++ b/tests/io/reader/test_sf_cli.py @@ -99,7 +99,7 @@ def test_returns_token_and_instance_url(self, reader): capture_output=True, text=True, check=True, - timeout=30, + timeout=120, ) mock_run.assert_any_call( [ @@ -114,7 +114,7 @@ def test_returns_token_and_instance_url(self, reader): capture_output=True, text=True, check=True, - timeout=30, + timeout=120, ) def test_file_not_found_raises_runtime_error(self, reader):