Skip to content

Conversation

@frankliee
Copy link
Contributor

@frankliee frankliee commented May 10, 2025

Rationale for this change

Decouple setup and exec in integration tests for better flexibility and isolation.

For example, currently, make test-integration must be executed in a physical server.
It is because docker xxx cannot be executed within a container (docker in docker is out of scope of this PR).
Sometimes, it is useful for local debugging, as poetry cannot provide system level isolation, includes environment variables and shared libs.

This PR allows us to run make test-integration-exec within a container environment, after we have run make test-integration-setup on this server.

Are these changes tested?

Existing tests.

Are there any user-facing changes?

No.

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I like this. Sometimes i want just the infrastructure to test against other things :)

@kevinjqliu kevinjqliu merged commit a27bec3 into apache:main May 10, 2025
10 checks passed
@kevinjqliu
Copy link
Contributor

Thanks for the contribution @frankliee

gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
…ility (apache#1985)

<!--
Thanks for opening a pull request!
-->

<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->

# Rationale for this change

Decouple setup and exec in integration tests for better flexibility and
isolation.

For example, currently, `make test-integration` must be executed in a
physical server.
It is because `docker xxx` cannot be executed within a container (docker
in docker is out of scope of this PR).
Sometimes, it is useful for local debugging, as poetry cannot provide
system level isolation, includes environment variables and shared libs.

This PR allows us to run `make test-integration-exec` within a container
environment, after we have run `make test-integration-setup` on this
server.

# Are these changes tested?
Existing tests.

# Are there any user-facing changes?

No.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants