Skip to content

ci(catalog/rest): initial framework for rest catalog integration tests - #310

Merged
zeroshade merged 3 commits into
apache:mainfrom
zeroshade:rest-integration-framework
Feb 26, 2025
Merged

zeroshade merged 3 commits into
apache:mainfrom
zeroshade:rest-integration-framework

Conversation

@zeroshade

Copy link
Copy Markdown
Member

Brought up by #291 we need to add some simple integration tests for the REST catalog to ensure that our requests and handling are correct according to the spec and not just according to our mocked request/responses.

This creates an initial framework for adding REST integration tests (more need to be added) which already discovered an issue in the delete requests that is also fixed by this PR.

@kevinjqliu kevinjqliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

BTW theres a REST Compatibility Kit (RCK) apache/iceberg#10908 that can be run against a REST catalog to test its compatibility with the REST spec.

Comment thread .github/workflows/go-integration.yml
Comment thread catalog/rest/rest_integration_test.go Outdated

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, and I agree that we need this :)

@zeroshade

Copy link
Copy Markdown
Member Author

@kevinjqliu I'll definitely look into the RCK! thanks for suggesting it!

@zeroshade
zeroshade merged commit 131d2ac into apache:main Feb 26, 2025
@zeroshade
zeroshade deleted the rest-integration-framework branch February 26, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants