Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Fixing broken System test#53

Merged
tseaver merged 10 commits intogoogleapis:masterfrom
sumit-ql:system-test
Dec 18, 2018
Merged

Fixing broken System test#53
tseaver merged 10 commits intogoogleapis:masterfrom
sumit-ql:system-test

Conversation

@sumit-ql
Copy link
Contributor

  1. Added labels in instance.create() - system-tests
  2. Added retry429 in instance.delete() - system-tests
  3. updated Connection.create_table() to pass column families dict to low_level_table.
  4. Updated unit tests

This also partially fix the issue #45

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 14, 2018
@sumit-ql
Copy link
Contributor Author

@tseaver @sduskis Please review.

@sduskis sduskis requested a review from tseaver November 15, 2018 16:46
@sumit-ql
Copy link
Contributor Author

System tests still failing on python 3.x, working fine with python 2.x. I forgot to run system tests on py3.x.
So i will be fixing this.

@sumit-ql
Copy link
Contributor Author

@tseaver made changes to make system-tests running with py3.x. Most of the changes are related to str to bytes conversion.
Please review.

@sduskis sduskis requested a review from a team November 26, 2018 18:42
@sduskis
Copy link

sduskis commented Nov 26, 2018

@googleapis/yoshi-python, can someone please review this?

@sumit-ql
Copy link
Contributor Author

sumit-ql commented Dec 6, 2018

@tseaver Can you please review this PR.

@sduskis
Copy link

sduskis commented Dec 10, 2018

@googleapis/yoshi-python, can we please get a review?

Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

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

As a user, I would be surprised / upset to pass row data with text keys into the library, and get the same data back, except with bytes keys. If we are going to be returning row data with bytes keys, we need to document that fact somewhere.

qual = 'qual'
fake_cells = object()
partial_row._cells = {col_fam: {qual: fake_cells}}
partial_row._cells = {col_fam: {qual.encode(): fake_cells}}

This comment was marked as spam.

@sduskis
Copy link

sduskis commented Dec 18, 2018

@sumit-ql, it looks like there are some follow up comments

@sumit-ql
Copy link
Contributor Author

@sumit-ql, it looks like there are some follow up comments

@sduskis Working on it, should be done today.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants