Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom access token generation in integration test env #789

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

dimas-b
Copy link
Contributor

@dimas-b dimas-b commented Jan 15, 2025

Polaris allows running the integration test suite against an external (managed) server.

This change further enables customizing access tokens for these tests according to the test env. needs.

Polaris allows running the integration test suite against
an external (managed) server.

This change further enables customizing access tokens for
these tests according to the test env. needs.
Copy link
Member

@snazy snazy left a comment

Choose a reason for hiding this comment

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

LGTM!

@dimas-b dimas-b merged commit 56f2fc5 into apache:main Jan 15, 2025
5 checks passed
@dimas-b dimas-b deleted the test-tokens branch January 15, 2025 18:34
dimas-b added a commit to dimas-b/polaris that referenced this pull request Jan 20, 2025
Obtain access tokens from `PolarisAccessManager` (apache#789)
before starting Spark sessions as opposed to passing
client ID/secret to Spark and relying on the Iceberg
REST Client to obtain access tokens.

This makes all "blackbox" integration tests obtain access
tokens the same way.
dimas-b added a commit that referenced this pull request Jan 21, 2025
Obtain access tokens from `PolarisAccessManager` (#789)
before starting Spark sessions as opposed to passing
client ID/secret to Spark and relying on the Iceberg
REST Client to obtain access tokens.

This makes all "blackbox" integration tests obtain access
tokens the same way.
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