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

Update reftest to always generate a directory at the root of the reference model #1219

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

dannycjones
Copy link
Contributor

This change impacts only Mountpoint's reference tests.

The current strategy for generating the tree allows for the root to be a file, which is not possible. This leads to us adding special cases to the reftest comparison logic as well as having bizarre test cases which are hard to understand.

This change updates the strategy by ensuring that the root is always a directory, and simplifies some of the unused proptest layers.

Does this change impact existing behavior?

No change to existing Mountpoint behavior. This changes the type of trees generated by our reference tests, removing those that are not possible in Mountpoint.

Does this change need a changelog entry?

No.


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).

@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests January 10, 2025 16:14 — with GitHub Actions Inactive
@c-hagem c-hagem added this pull request to the merge queue Jan 13, 2025
Merged via the queue into awslabs:main with commit 7d6e8f9 Jan 13, 2025
24 checks passed
@dannycjones dannycjones deleted the fix-gen-tree branch January 13, 2025 11:15
keremnc pushed a commit to keremnc/mountpoint-s3 that referenced this pull request Jan 24, 2025
…rence model (awslabs#1219)

This change impacts only Mountpoint's reference tests.

The current strategy for generating the tree allows for the root to be a
file, which is not possible. This leads to us adding special cases to
the reftest comparison logic as well as having bizarre test cases which
are hard to understand.

This change updates the strategy by ensuring that the root is always a
directory, and simplifies some of the unused proptest layers.

### Does this change impact existing behavior?

No change to existing Mountpoint behavior. This changes the type of
trees generated by our reference tests, removing those that are not
possible in Mountpoint.

### Does this change need a changelog entry?

No.

---

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)](https://developercertificate.org/).

Signed-off-by: Daniel Carl Jones <[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.

3 participants