Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
rahul2393 committed Oct 27, 2025
commit 5c84c7366a4f1695268828f0028589538b41259a
25 changes: 15 additions & 10 deletions tests/unit/gapic/spanner_v1/test_spanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ def test_spanner_client_create_channel_credentials_file(
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
("grpc.keepalive_time_ms", 120000),
],
)

Expand Down Expand Up @@ -12180,6 +12181,7 @@ def test_spanner_transport_create_channel(transport_class, grpc_helpers):
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
("grpc.keepalive_time_ms", 120000),
],
)

Expand Down Expand Up @@ -12209,6 +12211,7 @@ def test_spanner_grpc_transport_client_cert_source_for_mtls(transport_class):
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
("grpc.keepalive_time_ms", 120000),
],
)

Expand Down Expand Up @@ -12416,11 +12419,12 @@ def test_spanner_transport_channel_mtls_with_client_cert_source(transport_class)
scopes=None,
ssl_credentials=mock_ssl_cred,
quota_project_id=None,
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
],
)
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
("grpc.keepalive_time_ms", 120000),
],
)
assert transport.grpc_channel == mock_grpc_channel
assert transport._ssl_channel_credentials == mock_ssl_cred

Expand Down Expand Up @@ -12460,11 +12464,12 @@ def test_spanner_transport_channel_mtls_with_adc(transport_class):
scopes=None,
ssl_credentials=mock_ssl_cred,
quota_project_id=None,
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
],
)
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
("grpc.keepalive_time_ms", 120000),
],
)
assert transport.grpc_channel == mock_grpc_channel


Expand Down
Loading