-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
49 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
set -e | ||
|
||
CHARS_128="11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | ||
CHARS_1024="$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128" | ||
CHARS_1KB="$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128" | ||
CHARS_16KB="$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB" | ||
CHARS_128KB="$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB" | ||
CHARS_1MB="$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB" | ||
|
||
# 1 MB | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1MB | ||
|
||
# Exception message length is 1MB max. Logs below ensure build logs arent limited by it | ||
|
||
# 2 MB | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1MB | ||
|
||
# Up to 20MB is valid, so we add more to ensure larger logs are also fine | ||
|
||
# 15 MB | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
|
||
# Cause exception | ||
exit 1 | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
set -e | ||
|
||
CHARS_128="11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | ||
CHARS_1024="$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128" | ||
CHARS_1KB="$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128$CHARS_128" | ||
CHARS_16KB="$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB$CHARS_1KB" | ||
CHARS_128KB="$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB$CHARS_16KB" | ||
CHARS_1MB="$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB$CHARS_128KB" | ||
|
||
# 1 MB | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1MB | ||
|
||
# Exception message length is 1MB max. Logs below ensure build logs arent limited by it | ||
|
||
# 2 MB | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1MB | ||
|
||
# Up to 20MB is valid, so we add more to ensure larger logs are also fine | ||
|
||
# 15 MB | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1024 | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB | ||
echo -n $CHARS_1MB |