delta-io / delta

An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs
https://delta.io
Apache License 2.0
7.22k stars 1.62k forks source link

[INFRA] Update integration tests to clear all possible ivy caches + minor update to S3LogStoreUtilIntegrationTest #3258

Open allisonport-db opened 2 weeks ago

allisonport-db commented 2 weeks ago

Which Delta project/connector is this regarding?

Description

During integration testing and QA for the 4.0 preview release we noticed clearing the ~/.ivy2/ caches was not sufficient. This PR updates any scripts that clear artifacts to check for any subfolders that start with ".ivy" and clear any artifacts from there.

Also removes the conf setting ProfileCredentialsProvider as the credential provider for S3LogStoreUtilIntegrationTest. The default credential chain provider should include ProfileCredentialsProvider anyways, and removing it allows us to provide credentials in any of the other ways supported in the chain provider.

How was this patch tested?

Ran the S3LogStoreUtilIntegrationTest as well as ran run-integration-tests.py locally to check it clears the right caches.

Does this PR introduce any user-facing changes?

No.