Skip to content

test: use reuse=False in more remote_function e2e tests #503

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 1 commit into from
Mar 25, 2024
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions tests/system/large/test_remote_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ def test_remote_function_via_session_context_connection_setter(
# unique dataset_id, even though the cloud function would be reused, the bq
# remote function would still be created, making use of the bq connection
# set in the BigQueryOptions above.
@session.remote_function([int], int, dataset=dataset_id)
@session.remote_function([int], int, dataset=dataset_id, reuse=False)
def square(x):
return x * x

Expand Down Expand Up @@ -1084,7 +1084,7 @@ def square(x):
def test_remote_function_default_connection(session, scalars_dfs, dataset_id):
try:

@session.remote_function([int], int, dataset=dataset_id)
@session.remote_function([int], int, dataset=dataset_id, reuse=False)
def square(x):
return x * x

Expand Down Expand Up @@ -1121,7 +1121,7 @@ def square(x):
def test_remote_function_runtime_error(session, scalars_dfs, dataset_id):
try:

@session.remote_function([int], int, dataset=dataset_id)
@session.remote_function([int], int, dataset=dataset_id, reuse=False)
def square(x):
return x * x

Expand Down