mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-11 02:25:36 +00:00
[PR #12128/a794ccf1 backport][stable-12] zpool: reduce disk usage in integration tests by using sparse files (#12135)
zpool: reduce disk usage in integration tests by using sparse files (#12128)
* zpool: use sparse files in integration tests to reduce diskspace usage
* changelog: add PR link to zpool disk space fragment
* remove changelog fragment for test-only change
(cherry picked from commit a794ccf127)
Co-authored-by: Shreyashxredhat <shrbhosa@redhat.com>
This commit is contained in:
parent
410383e95f
commit
eedba20600
2 changed files with 1 additions and 2 deletions
|
|
@ -11,4 +11,3 @@ skip/macos
|
|||
skip/rhel
|
||||
skip/docker
|
||||
skip/alpine # TODO: figure out what goes wrong
|
||||
skip/ubuntu26.04 # TODO: VM seems to have less disk space than required
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
block:
|
||||
- name: Ensure disk files exists
|
||||
ansible.builtin.command:
|
||||
cmd: "dd if=/dev/zero of={{ item }} bs=1M count=256 conv=fsync"
|
||||
cmd: "truncate -s 256M {{ item }}"
|
||||
creates: "{{ item }}"
|
||||
loop: "{{ zpool_disk_configs }}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue