Skip to content

Commit

Permalink
Adding fix in qm cleanup for disk tests
Browse files Browse the repository at this point in the history
During the work of post install /var/qm partition
podman rmi throws error on cleanup.
This error fails the tests

Signed-off-by: Yariv Rachmani <[email protected]>
  • Loading branch information
Yarboa authored and dougsland committed Sep 12, 2024
1 parent 1851e19 commit a275ad4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/ffi/disk/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -euvx
#!/bin/bash -evx

# shellcheck disable=SC1091

Expand Down Expand Up @@ -36,5 +36,6 @@ fi

ls -lh /root/file.lock

disk_cleanup

# Calling cleanup QM directorly to workaround exit code once
# /var/qm disk is full.
podman exec -it qm /bin/bash -c 'podman rmi -i -f --all; echo $?'

0 comments on commit a275ad4

Please sign in to comment.