GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Update max_instances default to reflect actual value (#2302) · google/bigframes@4489687

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tests/system/large/functions
    • test_remote_function.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/system/large/functions/test_remote_function.py‎

Copy file name to clipboardExpand all lines: tests/system/large/functions/test_remote_function.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,13 +1651,12 @@ def square(x):
16511651
return x * x
16521652

16531653

1654-
# Note: Zero represents default, which is 100 instances actually, which is why the remote function still works
1655-
# in the df.apply() call here
1654+
# The default value of 100 is used if the maximum instances value is not set.
16561655
@pytest.mark.parametrize(
16571656
("max_instances_args", "expected_max_instances"),
16581657
[
1659-
pytest.param({}, 0, id="no-set"),
1660-
pytest.param({"cloud_function_max_instances": None}, 0, id="set-None"),
1658+
pytest.param({}, 100, id="no-set"),
1659+
pytest.param({"cloud_function_max_instances": None}, 100, id="set-None"),
16611660
pytest.param({"cloud_function_max_instances": 1000}, 1000, id="set-explicit"),
16621661
],
16631662
)

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.