From 85312849f5a7235c74f0f0226628497ecc6118dc Mon Sep 17 00:00:00 2001 From: algochoi <86622919+algochoi@users.noreply.github.com> Date: Wed, 5 Apr 2023 10:59:54 -0400 Subject: [PATCH] Change count for dd --- test/scripts/e2e_subs/e2e-app-simulate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/e2e_subs/e2e-app-simulate.sh b/test/scripts/e2e_subs/e2e-app-simulate.sh index 80f107867b..d973c52e0a 100755 --- a/test/scripts/e2e_subs/e2e-app-simulate.sh +++ b/test/scripts/e2e_subs/e2e-app-simulate.sh @@ -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