Skip to content

Conversation

@harshachinta
Copy link
Contributor

No description provided.

@harshachinta harshachinta requested review from a team as code owners April 22, 2025 06:50
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/python-spanner API. samples Issues that are directly related to samples. labels Apr 22, 2025

print("Waiting for operation to complete...")
operation.result(OPERATION_TIMEOUT_SECONDS)
operation.result(900)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the current timeout of 240 seconds, the sample is failing. When we increase it to 900 seconds it works.
Raised the issue to the editions team. Meanwhile to unblock PR merges and prevent samples failure this PR will help.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed with editions team that is expected behaviour.

Yes, this is expected. Previously we weren't waiting for galaxy and spanfe caches to be populated with the modified edition. Now we are. This takes approximately 10 min.

@harshachinta harshachinta requested review from rahul2393, sakthivelmanii and surbhigarg92 and removed request for balajismaniam April 22, 2025 06:51
"sample_name": "snippets-update_instance-explicit",
},
edition=spanner_instance_admin.Instance.Edition.STANDARD, # Optional
edition=spanner_instance_admin.Instance.Edition.ENTERPRISE, # Optional
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to merge split API sample I had to change this to STANDARD in that PR so that the tests pass.
Reverting back that change in this PR.

@harshachinta harshachinta enabled auto-merge (squash) April 22, 2025 07:18
@harshachinta harshachinta merged commit a8f38cd into googleapis:main Apr 22, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/python-spanner API. samples Issues that are directly related to samples. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants