Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Jul 9, 2021

In addition to showing the better practice (using the operation returned
from 'Instance.create' / 'Cluster.create'), this change also hardens
the sample against eventual-consistency issues.

Closes #353.

In addition to showing the better practice (using the operation returned
from 'Instance.create' / 'Cluster.create'), this change also hardens
the sample against eventual-consistency issues.

The timeouts used match those used in the system tests.

Closes #353.
@tseaver tseaver requested a review from a team as a code owner July 9, 2021 15:28
@product-auto-label product-auto-label bot added api: bigtable Issues related to the googleapis/python-bigtable API. samples Issues that are directly related to samples. labels Jul 9, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 9, 2021
Copy link
Collaborator

@kolea2 kolea2 left a comment

Choose a reason for hiding this comment

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

LGTM after typo fix. Thanks for taking a look at this!

@tseaver tseaver added the automerge Merge the pull request once unit tests and other checks pass. label Jul 9, 2021
@kolea2 kolea2 removed the automerge Merge the pull request once unit tests and other checks pass. label Jul 9, 2021
@kolea2
Copy link
Collaborator

kolea2 commented Jul 9, 2021

@tseaver looks like the samples failed, maybe some unrelated flakiness?

edit: nvm, maybe we should increase the timeouts?

concurrent.futures._base.TimeoutError: Operation did not complete within the designated timeout.

@tseaver tseaver merged commit aa5b606 into master Jul 9, 2021
@tseaver tseaver deleted the 353-samples-harden-instance-cluster-crud branch July 9, 2021 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/python-bigtable API. cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

samples.instanceadmin.test_instanceadmin: test_add_and_delete_cluster failed

2 participants