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

object_store: fix failing doctest with default features #5161

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

Jefffrey
Copy link
Contributor

@Jefffrey Jefffrey commented Dec 3, 2023

Which issue does this PR close?

Closes #5025

Rationale for this change

What changes are included in this PR?

Fix doctest to be encapsulated within block which depends on aws feature

Add block to doctest

Are there any user-facing changes?

@github-actions github-actions bot added the object-store Object Store Interface label Dec 3, 2023
@Jefffrey
Copy link
Contributor Author

Jefffrey commented Dec 3, 2023

Worth introducing something like cargo hack into CI to test all features (and combinations) to try catch errors like this in future?

Comment on lines +72 to +73
rand = "0.8"
tempfile = "3.1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just reordering to respect the comment about order

@tustvold tustvold merged commit 5788c69 into apache:master Dec 5, 2023
13 checks passed
@tustvold
Copy link
Contributor

tustvold commented Dec 5, 2023

Worth introducing something like cargo hack

I played with this a while back, the problem is testing all the feature combinations takes a very long time

@Jefffrey Jefffrey deleted the object_store_doctest_fix branch December 5, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object Store Doctest Failure with Default Features
2 participants