Fix extreme value to be less extreme so that integration test works on 32bits

This commit is contained in:
Alex Auvolat 2022-01-17 10:43:07 +01:00 committed by Gitea
parent fdcddbe168
commit 7c049f1c94

View file

@ -137,7 +137,7 @@ if [ -z "$SKIP_AWS" ]; then
aws s3api list-objects-v2 --bucket eprouvette --page-size 0 >$CMDOUT aws s3api list-objects-v2 --bucket eprouvette --page-size 0 >$CMDOUT
[ $(jq '.Contents | length' $CMDOUT) == 8 ] [ $(jq '.Contents | length' $CMDOUT) == 8 ]
[ $(jq '.CommonPrefixes | length' $CMDOUT) == 0 ] [ $(jq '.CommonPrefixes | length' $CMDOUT) == 0 ]
aws s3api list-objects-v2 --bucket eprouvette --page-size 999999999999999 >$CMDOUT aws s3api list-objects-v2 --bucket eprouvette --page-size 999999999 >$CMDOUT
[ $(jq '.Contents | length' $CMDOUT) == 8 ] [ $(jq '.Contents | length' $CMDOUT) == 8 ]
[ $(jq '.CommonPrefixes | length' $CMDOUT) == 0 ] [ $(jq '.CommonPrefixes | length' $CMDOUT) == 0 ]
aws s3api list-objects-v2 --bucket eprouvette --page-size 1 >$CMDOUT aws s3api list-objects-v2 --bucket eprouvette --page-size 1 >$CMDOUT