Skip to content

Commit 0b9fe99

Browse files
authored
[Python] cloudsql_it_test fixture runs before setupclass (#36406)
* fixture runs before setupclass * format
1 parent 517bef3 commit 0b9fe99

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sdks/python/apache_beam/transforms/enrichment_handlers/cloudsql_it_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ def create_table(
209209

210210

211211
class BaseTestSQLEnrichment(unittest.TestCase):
212+
_cache_client_retries = 3
212213
_table_data = [
213214
{
214215
"id": 1, "name": "A", 'quantity': 2, 'distribution_center_id': 3
@@ -259,8 +260,6 @@ def setUpClass(cls):
259260
table_data=cls._table_data,
260261
metadata=cls._metadata)
261262

262-
cls._cache_client_retries = 3
263-
264263
@classmethod
265264
def get_columns(cls):
266265
"""Returns fresh column objects each time it's called."""

0 commit comments

Comments
 (0)