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

Add failing reference test #1066

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

passaro
Copy link
Contributor

@passaro passaro commented Oct 16, 2024

Description of change

One of the property-based tests found a new case where the reference model and Mountpoint implementation diverge. This change adds the case as a failing test:

---- reftests::harness::mutations::regression_put_nested_over_open_file stdout ----
thread 'reftests::harness::mutations::regression_put_nested_over_open_file' panicked at mountpoint-s3/tests/reftests/harness.rs:640:29:
assertion `left == right` failed: for file "a" expecting RegularFile found Directory
  left: Directory
 right: RegularFile

The issue seems to be around the shadowing behavior when a "local" file is open (i.e. not uploaded yet) and a prefix with the same name is created on the bucket. To be further investigated.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

Signed-off-by: Alessandro Passaro <[email protected]>
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.

1 participant