[GCP-8480] Bigtable: 'test_bigtable_create_table' snippet flakes with '504 Deadline Exceeded'.#16
[GCP-8480] Bigtable: 'test_bigtable_create_table' snippet flakes with '504 Deadline Exceeded'.#16
Conversation
|
@mf2199 you have already reviewed, but for further updates plz review. |
mf2199
left a comment
There was a problem hiding this comment.
As we mentioned before, it may be worthwhile including some of the previous discussion into the public PR in order to backup our reasoning.
| try: | ||
| table.create(column_families={"cf1": max_versions_rule}) | ||
| break | ||
| except Exception as e: |
There was a problem hiding this comment.
Maybe that is worth it, if possible, to determine the exception more specifically, instead of rising it through Exception?
There was a problem hiding this comment.
I agree on that, this should be under question. Exception is a base class for all exceptions in Python, so with this statement you'll catch errors of all kinds, while in issue they talk only about google.api_core.exceptions.DeadlineExceeded.
|
This can now be forwarded to a public PR. |
…leapis#8720) * Checking in staged client helper code Additional test, docs & proposed cleanup needs to happen on top of this. * update create_model to allow user to specify included or excluded col… (#16) * update create_model to allow user to specify included or excluded columns * made minor changes stylistically and with added ValueError outputs * Update doc gen & module structure. Add unit & system tests * added two new func: set time, get table address (#23) * added two new func: set time, get table address * changed indentation * Add system tests * Address linter & python2.7 import errors * Passes **kwargs through to client & implements missing methods * Support BQ as input/output in batch_predict * Address first round of feedback * Switch to pytest.raises, fix .rst formatting exception * Make list system tests more stringent
…leapis#8720) * Checking in staged client helper code Additional test, docs & proposed cleanup needs to happen on top of this. * update create_model to allow user to specify included or excluded col… (#16) * update create_model to allow user to specify included or excluded columns * made minor changes stylistically and with added ValueError outputs * Update doc gen & module structure. Add unit & system tests * added two new func: set time, get table address (#23) * added two new func: set time, get table address * changed indentation * Add system tests * Address linter & python2.7 import errors * Passes **kwargs through to client & implements missing methods * Support BQ as input/output in batch_predict * Address first round of feedback * Switch to pytest.raises, fix .rst formatting exception * Make list system tests more stringent
Addresses #8480
Preliminary discussion can be found here