Skip to content

[3.12] gh-126909: Fix running xattr tests on systems with lower limits (GH-126930) #126964

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

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 18, 2024

Modify the extended attribute tests to write fewer and smaller extended
attributes, in order to fit within filesystems with total xattr limit
of 1 KiB (e.g. ext4 with 1 KiB blocks). Previously, the test would
write over 2 KiB, making it fail with ENOSPC on such systems.
(cherry picked from commit 2c0a21c)

Co-authored-by: Michał Górny mgorny@gentoo.org

…pythonGH-126930)

Modify the extended attribute tests to write fewer and smaller extended
attributes, in order to fit within filesystems with total xattr limit
of 1 KiB (e.g. ext4 with 1 KiB blocks).  Previously, the test would
write over 2 KiB, making it fail with ENOSPC on such systems.
(cherry picked from commit 2c0a21c)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Nov 18, 2024
@vstinner vstinner enabled auto-merge (squash) November 18, 2024 13:06
@vstinner vstinner merged commit fd241d6 into python:3.12 Nov 18, 2024
31 checks passed
gentoo-bot pushed a commit to gentoo/cpython that referenced this pull request Apr 9, 2025
… limits (pythonGH-126930) (python#126964)

pythongh-126909: Fix running xattr tests on systems with lower limits (pythonGH-126930)

Modify the extended attribute tests to write fewer and smaller extended
attributes, in order to fit within filesystems with total xattr limit
of 1 KiB (e.g. ext4 with 1 KiB blocks).  Previously, the test would
write over 2 KiB, making it fail with ENOSPC on such systems.
(cherry picked from commit 2c0a21c)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants