Skip to content

Commit

Permalink
Updated tests due to removed message
Browse files Browse the repository at this point in the history
  • Loading branch information
toote committed Jul 24, 2024
1 parent fdfd854 commit 6a4d64e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/download-ignore-missing.bats
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ setup() {
assert_success
assert_output --partial "Downloading artifacts"
assert_output --partial "Ignoring error in download of /tmp/foo.log"
assert_output --partial "Ignoring missing file /tmp/foo.log for relocation"

unstub buildkite-agent
}
Expand Down Expand Up @@ -102,7 +101,6 @@ setup() {
assert_success
assert_output --partial "Downloading artifacts"
assert_output --partial "Ignoring error in download of /tmp/foo.log"
assert_output --partial "Ignoring missing file /tmp/foo.log for relocation"
refute_output --partial "download artifact /tmp/foo.log"

assert [ ! -e /tmp/foo2.log ]
Expand All @@ -111,7 +109,6 @@ setup() {
unstub buildkite-agent
}


@test "Pre-command downloads multiple > 10 artifacts with build and relocation and some failures" {
stub_calls=()
for i in $(seq 0 10); do
Expand Down Expand Up @@ -139,10 +136,9 @@ setup() {
assert [ ! -e /tmp/foo-r-"${i}".log ]
assert [ ! -e /tmp/foo-"${i}".log ]
assert_output --partial "Ignoring error in download of /tmp/foo-${i}.log"
assert_output --partial "Ignoring missing file /tmp/foo-${i}.log"
refute_output --partial "downloaded artifact /tmp/foo-${i}.log"
fi
done

unstub buildkite-agent
}
}

0 comments on commit 6a4d64e

Please sign in to comment.