Skip to content

Fixing broken System test #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 18, 2018
Merged

Fixing broken System test #53

merged 10 commits into from
Dec 18, 2018

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.

@@ -474,7 +474,7 @@ def mock_cells_to_pairs(*args, **kwargs):
col_fam = 'cf1'
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 join this conversation on GitHub. Already have an account? Sign in to comment
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