Skip to content

Commit

Permalink
use seperate blobinfocache for flaky test
Browse files Browse the repository at this point in the history
Signed-off-by: flouthoc <[email protected]>
  • Loading branch information
flouthoc committed Jan 23, 2025
1 parent 9110b50 commit 641f86b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/bud.bats
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ _EOF

@test "bud: build push with --force-compression" {
skip_if_no_podman
blobcachedir=${TEST_SCRATCH_DIR}/blobcachelocal
mkdir -p ${blobcachedir}
local contextdir=${TEST_SCRATCH_DIR}/bud/platform
mkdir -p $contextdir

Expand All @@ -166,6 +168,7 @@ _EOF
function _test_buildah_push() {
run_buildah push \
--log-level=debug \
--blob-cache=${blobcachedir} \
$WITH_POLICY_JSON \
--authfile ${TEST_SCRATCH_DIR}/test.auth \
--tls-verify=false \
Expand Down

0 comments on commit 641f86b

Please sign in to comment.