Skip to content

Commit 6a4d64e

Browse files
committed
Updated tests due to removed message
1 parent fdfd854 commit 6a4d64e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/download-ignore-missing.bats

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ setup() {
3636
assert_success
3737
assert_output --partial "Downloading artifacts"
3838
assert_output --partial "Ignoring error in download of /tmp/foo.log"
39-
assert_output --partial "Ignoring missing file /tmp/foo.log for relocation"
4039

4140
unstub buildkite-agent
4241
}
@@ -102,7 +101,6 @@ setup() {
102101
assert_success
103102
assert_output --partial "Downloading artifacts"
104103
assert_output --partial "Ignoring error in download of /tmp/foo.log"
105-
assert_output --partial "Ignoring missing file /tmp/foo.log for relocation"
106104
refute_output --partial "download artifact /tmp/foo.log"
107105

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

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

147143
unstub buildkite-agent
148-
}
144+
}

0 commit comments

Comments
 (0)