Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[#6131] feat (gvfs-fuse): Add integration test framework of gvfs-fuse #6160
[#6131] feat (gvfs-fuse): Add integration test framework of gvfs-fuse #6160
Changes from 22 commits
9810afd
4350b43
81bbf63
6b68650
922ed0a
3435810
4ad62ed
7900190
4e34bd2
1f014f6
0960c08
8f9bea8
536ff25
52649d7
00bb21f
6c29810
7a32f7f
eb23de6
5ed1a21
14cfdc9
078a2e9
e278ccf
629d449
ed3d1b4
df7b0da
1907c9e
1b8a949
016aec2
df64efd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's hard to use, use
make prepare-it-env
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not good to let make call gradle again.
Currently, the integration test module does not automatically build the package, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the current IT doesn't automatically build the package, but here you depends on
bundles:aws-bundle:build
, I wonder whether you could make it auto dependents. and There are separate actions in Gravitino IT, seems better make rust client keep consistent with it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why adding this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if the file has been deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is no file entry, is it expected not closing the open file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, closing deleted file may cause bugs.
This fix is not good. Add the todo comments to handle that case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems hacks, could you refer other rust projects for more general way to control the tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can’t find a good way to mark the test tags and run them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try using this?
#[cfg(feature = "ENABLE_S3_TEST")]
, after using this macro, seems we could removes3_ut
prefix too.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is generally used to control whether a module participates in compilation, and I haven't seen any projects using it to control tests. People familiar with Rust might find this confusing, right?
It also cannot filter out tests that do not have feature = "ENABLE_S3_TEST" enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There have a lib can mark tags for the testers. but it can not work with
#[tokio::test]
https://docs.rs/tagrs/latest/tagrs/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please refer to https://github.com/apache/iceberg-rust/blob/main/crates/iceberg/tests/file_io_s3_test.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
storage-s3
feature is used to enable that functionality for all code, not just for testing.