Skip to content

Commit a8f38cd

Browse files
authored
chore: sample fix with increased timeout (#1339)
Signed-off-by: Sri Harsha CH <[email protected]>
1 parent ca76108 commit a8f38cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/samples/snippets.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ def update_instance(instance_id):
9191
labels={
9292
"sample_name": "snippets-update_instance-explicit",
9393
},
94-
edition=spanner_instance_admin.Instance.Edition.STANDARD, # Optional
94+
edition=spanner_instance_admin.Instance.Edition.ENTERPRISE, # Optional
9595
),
9696
field_mask=field_mask_pb2.FieldMask(paths=["labels", "edition"]),
9797
)
9898

9999
print("Waiting for operation to complete...")
100-
operation.result(OPERATION_TIMEOUT_SECONDS)
100+
operation.result(900)
101101

102102
print("Updated instance {}".format(instance_id))
103103

0 commit comments

Comments
 (0)