Skip to content

Commit f0e49c6

Browse files
authored
Try setting the IP for the integration tests (#2000)
# Rationale for this change The [integration tests started failing](https://github.com/apache/iceberg-python/commits/main/); this fixes it, according to Stack Overflow and the CI. # Are these changes tested? # Are there any user-facing changes? <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent d9f3a07 commit f0e49c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,6 +2443,7 @@ def spark() -> "SparkSession":
24432443
os.environ["AWS_REGION"] = "us-east-1"
24442444
os.environ["AWS_ACCESS_KEY_ID"] = "admin"
24452445
os.environ["AWS_SECRET_ACCESS_KEY"] = "password"
2446+
os.environ["SPARK_LOCAL_IP"] = "127.0.0.1"
24462447

24472448
spark = (
24482449
SparkSession.builder.appName("PyIceberg integration test")

0 commit comments

Comments
 (0)