-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-39339: [C++] Add ForceCachedHierarchicalNamespaceSupport to help with testing #39340
Conversation
|
The only CI failure is a s3 test timeout, so I'm merging. |
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit e5145bf. There were 3 benchmark results indicating a performance regression:
The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…help with testing (apache#39340) ### Rationale for this change This ensures all the branches in the `AzureFileSystem` code operations are tested. For instance, many operations executed on a missing container, wouldn't get a `HNSSupport::kContainerNotFound` error if the cached `HNSSupport` was already known due to a previous operation that cached the `HNSSupport` value. ### What changes are included in this PR? Introduction of the helper that overrides `cached_hns_support_` and enumeration of the scenarios. ### Are these changes tested? Yes. This is a test improvement PR. * Closes: apache#39339 Authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
…help with testing (apache#39340) ### Rationale for this change This ensures all the branches in the `AzureFileSystem` code operations are tested. For instance, many operations executed on a missing container, wouldn't get a `HNSSupport::kContainerNotFound` error if the cached `HNSSupport` was already known due to a previous operation that cached the `HNSSupport` value. ### What changes are included in this PR? Introduction of the helper that overrides `cached_hns_support_` and enumeration of the scenarios. ### Are these changes tested? Yes. This is a test improvement PR. * Closes: apache#39339 Authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
Rationale for this change
This ensures all the branches in the
AzureFileSystem
code operations are tested.For instance, many operations executed on a missing container, wouldn't
get a
HNSSupport::kContainerNotFound
error if the cachedHNSSupport
wasalready known due to a previous operation that cached the
HNSSupport
value.What changes are included in this PR?
Introduction of the helper that overrides
cached_hns_support_
and enumeration of the scenarios.Are these changes tested?
Yes. This is a test improvement PR.