Skip to content

Commit

Permalink
chore(samples): increase timeouts for instance/cluster creation
Browse files Browse the repository at this point in the history
Closes #383.
  • Loading branch information
tseaver committed Jul 20, 2021
1 parent 95b2e13 commit 520fefe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/instanceadmin/instanceadmin.py
Expand Up @@ -74,7 +74,7 @@ def run_instance_operations(project_id, instance_id, cluster_id):
# Create instance with given options
operation = instance.create(clusters=[cluster])
# Ensure the operation completes.
operation.result(timeout=30)
operation.result(timeout=60)
print("\nCreated instance: {}".format(instance_id))
# [END bigtable_create_prod_instance]

Expand Down Expand Up @@ -159,7 +159,7 @@ def add_cluster(project_id, instance_id, cluster_id):
else:
operation = cluster.create()
# Ensure the operation completes.
operation.result(timeout=30)
operation.result(timeout=60)
print("\nCluster created: {}".format(cluster_id))
# [END bigtable_create_cluster]

Expand Down

0 comments on commit 520fefe

Please sign in to comment.