Skip to content

Commit

Permalink
Change count for dd
Browse files Browse the repository at this point in the history
  • Loading branch information
algochoi committed Apr 5, 2023
1 parent bf3819d commit 8531284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/e2e_subs/e2e-app-simulate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CONST_FALSE="false"

# First, try to send an extremely large "transaction" in the request body.
# This should fail with a 413 error.
dd if=/dev/zero of=${TEMPDIR}/toolarge.tx bs=1M count=11
dd if=/dev/zero of=${TEMPDIR}/toolarge.tx bs=11M count=1
RES=$(${gcmd} clerk simulate -t "${TEMPDIR}/toolarge.tx" 2>&1 || true)
EXPERROR="simulation error: HTTP 413 Request Entity Too Large:"
if [[ $RES != *"${EXPERROR}"* ]]; then
Expand Down

0 comments on commit 8531284

Please sign in to comment.