Skip to content

tests: 'test_scale_bigtable', backoff when testing cluster node counts#168

Merged
tseaver merged 1 commit intomasterfrom
108-159-unflake-test_scale_bigtable-sample
Nov 25, 2020
Merged

tests: 'test_scale_bigtable', backoff when testing cluster node counts#168
tseaver merged 1 commit intomasterfrom
108-159-unflake-test_scale_bigtable-sample

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Nov 17, 2020

Closes #108
Closes #159

@tseaver tseaver requested review from busunkim96 and tswast November 17, 2020 23:26
@tseaver tseaver requested a review from a team as a code owner November 17, 2020 23:26
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the googleapis/python-bigtable API. label Nov 17, 2020
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 17, 2020
cluster.reload()

_nonzero_node_count = RetryInstanceState(
instance_predicate=lambda c: c.serve_nodes > 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

Due to the way that Bigtable assigns keys to be served by various nodes, I'm pretty sure that the minimum number of nodes per instance is 1, not 0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When initially creating an instance / cluster, the node count can be returned as 0: see the failure output for #159.

@tseaver tseaver merged commit c766c12 into master Nov 25, 2020
@tseaver tseaver deleted the 108-159-unflake-test_scale_bigtable-sample branch November 25, 2020 00:21
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

samples.metricscaler.metricscaler_test: test_scale_bigtable failed 'test_scale_bigtable' flakes on AssertionError

3 participants

Comments