Skip to content

Commit ee0dca1

Browse files
author
Takashi Matsuo
authored
[spanner] fix: bump the timeout for instance creation [(#3468)](GoogleCloudPlatform/python-docs-samples#3468)
fixes #3466
1 parent 44e81e8 commit ee0dca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/samples/backup_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def spanner_instance():
5151
spanner_client.project_name, 'regional-us-central1')
5252
instance = spanner_client.instance(INSTANCE_ID, instance_config)
5353
op = instance.create()
54-
op.result(30) # block until completion
54+
op.result(120) # block until completion
5555
yield instance
5656
instance.delete()
5757

0 commit comments

Comments
 (0)