Skip to content

Commit

Permalink
Fix gcp test so that gcs downscoped is always enabled (#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yuwang authored Aug 1, 2024
1 parent 91aa0fc commit 3eaa331
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/integ/test_put_get_with_gcp_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
pytestmark = pytest.mark.gcp


@pytest.mark.parametrize("enable_gcs_downscoped", [True, False])
@pytest.mark.parametrize("enable_gcs_downscoped", [True])
@pytest.mark.parametrize(
"from_path", [True, pytest.param(False, marks=pytest.mark.skipolddriver)]
)
Expand Down Expand Up @@ -127,7 +127,7 @@ def test_put_get_with_gcp(
assert original_contents == contents, "Output is different from the original file"


@pytest.mark.parametrize("enable_gcs_downscoped", [True, False])
@pytest.mark.parametrize("enable_gcs_downscoped", [True])
def test_put_copy_many_files_gcp(
tmpdir,
conn_cnx,
Expand Down Expand Up @@ -192,7 +192,7 @@ def run(csr, sql):
run(csr, "drop table if exists {name}")


@pytest.mark.parametrize("enable_gcs_downscoped", [True, False])
@pytest.mark.parametrize("enable_gcs_downscoped", [True])
def test_put_copy_duplicated_files_gcp(
tmpdir,
conn_cnx,
Expand Down Expand Up @@ -288,7 +288,7 @@ def run(csr, sql):
run(csr, "drop table if exists {name}")


@pytest.mark.parametrize("enable_gcs_downscoped", [True, False])
@pytest.mark.parametrize("enable_gcs_downscoped", [True])
def test_put_get_large_files_gcp(
tmpdir,
conn_cnx,
Expand Down Expand Up @@ -476,7 +476,7 @@ def mocked_get(*args, **kwargs):
assert original_contents == contents, "Output is different from the original file"


@pytest.mark.parametrize("enable_gcs_downscoped", [True, False])
@pytest.mark.parametrize("enable_gcs_downscoped", [True])
def test_auto_compress_off_gcp(
tmpdir,
conn_cnx,
Expand Down

0 comments on commit 3eaa331

Please sign in to comment.