File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
set -euo pipefail
4
4
5
5
PLUGIN_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) /.."
6
- MAX_SIZE=100 # in KB
6
+ MAX_SIZE=1024 # in KB
7
7
8
8
echo " --- :junit: Download the junits"
9
9
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ load "$BATS_PATH/load.bash"
121
121
assert_output --partial " BUILDKITE_PLUGIN_JUNIT_ANNOTATE_ARTIFACTS: unbound variable"
122
122
}
123
123
124
- @test " fails if the annotation is larger than " {
124
+ @test " fails if the annotation is larger than 1MB " {
125
125
export BUILDKITE_PLUGIN_JUNIT_ANNOTATE_ARTIFACTS=" junits/*.xml"
126
126
127
127
artifacts_tmp=" tests/tmp/$PWD /junit-artifacts"
@@ -131,8 +131,8 @@ load "$BATS_PATH/load.bash"
131
131
" -d junit-annotate-plugin-artifacts-tmp.XXXXXXXXXX : mkdir -p $artifacts_tmp ; echo $artifacts_tmp " \
132
132
" -d junit-annotate-plugin-annotation-tmp.XXXXXXXXXX : mkdir -p $annotation_tmp ; echo $annotation_tmp "
133
133
134
- # 1kb over the 100k size limit of annotations
135
- stub du " -k /plugin/tests/tmp//plugin/junit-annotation/annotation.md : echo 101 /plugin/tests/tmp//plugin/junit-annotation/annotation.md"
134
+ # 1KB over the 1MB size limit of annotations
135
+ stub du " -k /plugin/tests/tmp//plugin/junit-annotation/annotation.md : echo 1025 /plugin/tests/tmp//plugin/junit-annotation/annotation.md"
136
136
137
137
stub buildkite-agent " artifact download junits/*.xml /plugin/tests/tmp//plugin/junit-artifacts : echo Downloaded artifacts"
138
138
You can’t perform that action at this time.
0 commit comments