KEMBAR78
[3.12] gh-126909: Fix running xattr tests on systems with lower limits (GH-126930) by miss-islington · Pull Request #126964 · python/cpython · GitHub
Skip to content

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>
gentoo-bot pushed a commit to gentoo/cpython that referenced this pull request Jul 30, 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