Skip to content

Commit 2f0b547

Browse files
committed
Fixed something
1 parent c96e14b commit 2f0b547

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/e2e/common/staging_ingestion_tests.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_staging_ingestion_put_fails_without_staging_allowed_local_path(
109109
):
110110
with self.connection() as conn:
111111
cursor = conn.cursor()
112-
query = f"PUT '{temp_path}' INTO 'stage://tmp/{ingestion_user}/tmp/11/15/file1.csv' OVERWRITE"
112+
query = f"PUT '{temp_path}' INTO 'stage://tmp/{ingestion_user}/tmp/11/16/file1.csv' OVERWRITE"
113113
cursor.execute(query)
114114

115115
def test_staging_ingestion_put_fails_if_localFile_not_in_staging_allowed_local_path(
@@ -136,7 +136,7 @@ def test_staging_ingestion_put_fails_if_localFile_not_in_staging_allowed_local_p
136136
extra_params={"staging_allowed_local_path": base_path}
137137
) as conn:
138138
cursor = conn.cursor()
139-
query = f"PUT '{temp_path}' INTO 'stage://tmp/{ingestion_user}/tmp/11/15/file1.csv' OVERWRITE"
139+
query = f"PUT '{temp_path}' INTO 'stage://tmp/{ingestion_user}/tmp/11/16/file1.csv' OVERWRITE"
140140
cursor.execute(query)
141141

142142
def test_staging_ingestion_put_fails_if_file_exists_and_overwrite_not_set(
@@ -222,7 +222,7 @@ def perform_get():
222222
extra_params={"staging_allowed_local_path": temp_path}
223223
) as conn:
224224
cursor = conn.cursor()
225-
query = f"GET 'stage://tmp/{some_other_user}/tmp/11/15/file1.csv' TO '{temp_path}'"
225+
query = f"GET 'stage://tmp/{some_other_user}/tmp/11/16/file1.csv' TO '{temp_path}'"
226226
cursor.execute(query)
227227

228228
# PUT should fail with permissions error
@@ -258,7 +258,7 @@ def test_staging_ingestion_put_fails_if_absolute_localFile_not_in_staging_allowe
258258
extra_params={"staging_allowed_local_path": staging_allowed_local_path}
259259
) as conn:
260260
cursor = conn.cursor()
261-
query = f"PUT '{target_file}' INTO 'stage://tmp/{ingestion_user}/tmp/11/15/file1.csv' OVERWRITE"
261+
query = f"PUT '{target_file}' INTO 'stage://tmp/{ingestion_user}/tmp/11/16/file1.csv' OVERWRITE"
262262
cursor.execute(query)
263263

264264
def test_staging_ingestion_empty_local_path_fails_to_parse_at_server(
@@ -272,7 +272,7 @@ def test_staging_ingestion_empty_local_path_fails_to_parse_at_server(
272272
extra_params={"staging_allowed_local_path": staging_allowed_local_path}
273273
) as conn:
274274
cursor = conn.cursor()
275-
query = f"PUT '{target_file}' INTO 'stage://tmp/{ingestion_user}/tmp/11/15/file1.csv' OVERWRITE"
275+
query = f"PUT '{target_file}' INTO 'stage://tmp/{ingestion_user}/tmp/11/16/file1.csv' OVERWRITE"
276276
cursor.execute(query)
277277

278278
def test_staging_ingestion_invalid_staging_path_fails_at_server(
@@ -286,7 +286,7 @@ def test_staging_ingestion_invalid_staging_path_fails_at_server(
286286
extra_params={"staging_allowed_local_path": staging_allowed_local_path}
287287
) as conn:
288288
cursor = conn.cursor()
289-
query = f"PUT '{target_file}' INTO 'stageRANDOMSTRINGOFCHARACTERS://tmp/{ingestion_user}/tmp/11/15/file1.csv' OVERWRITE"
289+
query = f"PUT '{target_file}' INTO 'stageRANDOMSTRINGOFCHARACTERS://tmp/{ingestion_user}/tmp/11/16/file1.csv' OVERWRITE"
290290
cursor.execute(query)
291291

292292
def test_staging_ingestion_supports_multiple_staging_allowed_local_path_values(

0 commit comments

Comments
 (0)