Skip to content

feat(bigtable): skip system test failing with emulator#1

Draft
HemangChothani wants to merge 5 commits into
masterfrom
bigtable_issue_5
Draft

feat(bigtable): skip system test failing with emulator#1
HemangChothani wants to merge 5 commits into
masterfrom
bigtable_issue_5

Conversation

@HemangChothani
Copy link
Copy Markdown
Collaborator

Fixes [5]

@mf2199 mf2199 self-requested a review March 30, 2020 13:56
@HemangChothani HemangChothani requested a review from IlyaFaer April 1, 2020 05:47
@HemangChothani
Copy link
Copy Markdown
Collaborator Author

@IlyaFaer @mf2199 Friendly ping................

Comment thread tests/system.py Outdated
for table in self.tables_to_delete:
table.delete()

def _maybe_emulator_skip(self, message):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'd rather give it a different name, e.g., _skip_if_emulator or so.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Comment thread tests/system.py Outdated
self.assertEqual(retrieved_col_fam.gc_rule, gc_rule)

def test_create_table_with_split_keys(self):
self._maybe_emulator_skip("Split keys not supported by Bigtable emulator")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Split keys not are supported by Bigtable emulator``

Comment thread tests/system.py Outdated

def test_read_large_cell_limit(self):
self._maybe_emulator_skip(
"Maximum grpc received message size for emulator is 4194304"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Wonder whether it's grpc or gRPC. And it's probably 4194304 bytes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants