Skip to content

Commit 6b03583

Browse files
milkshakeiiiashleyxuu
authored andcommitted
fix: don't download 100gb onto local python machine in load test (#537)
* fix: don't download 100gb onto local python machine in load test * Update test_large_tables.py
1 parent 6d46810 commit 6b03583

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/system/load/test_large_tables.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,9 @@ def test_index_repr_large_table():
7474
assert actual is not None
7575

7676

77-
# FAILED
78-
# tests/system/load/test_large_tables.py::test_to_pandas_batches_large_table
79-
# google.api_core.exceptions.Forbidden: 403 Response too large to return.
80-
# Consider specifying a destination table in your job...
81-
@pytest.mark.xfail
8277
def test_to_pandas_batches_large_table():
83-
df = bpd.read_gbq("load_testing.scalars_100gb")
78+
df = bpd.read_gbq("load_testing.scalars_10gb")
79+
# df will be downloaded locally
8480
expected_row_count, expected_column_count = df.shape
8581

8682
row_count = 0

0 commit comments

Comments
 (0)