Skip to content

Commit 6324840

Browse files
committed
tests: Work around podman/skopeo interaction bug
See #1101 (comment) Basically things break unless "podman" initializes the c/storage instance right now. Signed-off-by: Colin Walters <[email protected]>
1 parent 3c34723 commit 6324840

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/booted/test-image-pushpull-upgrade.nu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ def initial_build [] {
3131
let td = mktemp -d
3232
cd $td
3333

34+
# Work around https://github.com/containers/bootc/pull/1101#issuecomment-2653862974
35+
# Basically things break unless "podman" initializes the c/storage instance right now.
36+
podman images -q o>/dev/null
37+
3438
bootc image copy-to-storage
3539
let img = podman image inspect localhost/bootc | from json
3640

tests/booted/test-logically-bound-switch.nu

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ let st = bootc status --json | from json
1717
let booted = $st.status.booted.image
1818

1919
def initial_setup [] {
20+
# Work around https://github.com/containers/bootc/pull/1101#issuecomment-2653862974
21+
# Basically things break unless "podman" initializes the c/storage instance right now.
22+
podman images -q o>/dev/null
2023
bootc image copy-to-storage
2124
podman images
2225
podman image inspect localhost/bootc | from json

0 commit comments

Comments
 (0)