diff --git a/libcloudforensics/providers/gcp/internal/compute.py b/libcloudforensics/providers/gcp/internal/compute.py index 0d9d889e..440d8160 100644 --- a/libcloudforensics/providers/gcp/internal/compute.py +++ b/libcloudforensics/providers/gcp/internal/compute.py @@ -2289,6 +2289,7 @@ def ExportImage( build_args = [ '-source_image={0:s}'.format(self.name), '-destination_uri={0:s}'.format(full_path), + '-timeout=86400s', '-client_id=api', ] if image_format: diff --git a/tests/providers/gcp/test_forensics.py b/tests/providers/gcp/test_forensics.py index af4bf01e..f9116652 100644 --- a/tests/providers/gcp/test_forensics.py +++ b/tests/providers/gcp/test_forensics.py @@ -177,4 +177,3 @@ def testCopyDisksToGCS(self, mock_project: mock.MagicMock) -> None: gcs_output_folder=f'gs://{dest_bucket_name}/{"/path/to/directory/"}', image_format='qcow2', output_name=mock_disk_obj.name) - \ No newline at end of file