Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ba619be

Browse filesBrowse files
authored
Override gRPC max message lengths. (googleapis#5498)
Remove 'xfail' for the large cell test which needs the override. Closes googleapis#5362. * Lint.
1 parent fde9b59 commit ba619be
Copy full SHA for ba619be

File tree

Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-4
lines changed

‎bigtable/google/cloud/bigtable_v2/gapic/bigtable_client.py

Copy file name to clipboardExpand all lines: bigtable/google/cloud/bigtable_v2/gapic/bigtable_client.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ def __init__(self,
9797
self.SERVICE_ADDRESS,
9898
credentials=credentials,
9999
scopes=self._DEFAULT_SCOPES,
100+
options={
101+
'grpc.max_send_message_length': -1,
102+
'grpc.max_receive_message_length': -1,
103+
}.items(),
100104
)
101105

102106
# Create the gRPC stubs.

‎bigtable/tests/system.py

Copy file name to clipboardExpand all lines: bigtable/tests/system.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
from test_utils.system import EmulatorCreds
3636
from test_utils.system import unique_resource_id
3737

38-
import pytest
39-
4038
LOCATION_ID = 'us-central1-c'
4139
INSTANCE_ID = 'g-c-p' + unique_resource_id('-')
4240
TABLE_ID = 'google-cloud-python-test-table'
@@ -451,8 +449,6 @@ def test_drop_by_prefix_table(self):
451449

452450
self.assertEqual(expected_rows_count, read_rows_count)
453451

454-
@pytest.mark.xfail(reason="https://github.com/GoogleCloudPlatform/"
455-
"google-cloud-python/issues/5362")
456452
def test_read_large_cell_limit(self):
457453
row = self._table.row(ROW_KEY)
458454
self.rows_to_delete.append(row)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.