Skip to content

Commit

Permalink
test: tune post size
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Jul 22, 2022
1 parent 88da5ce commit c281b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/http-post-large.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = async function ({ HTTP_PORT }) {
const res = await axios({
method: 'post',
url: `http://localhost:${HTTP_PORT}/post`,
data: 'A'.repeat(1024 * 1024 + 1),
data: 'A'.repeat(10241),
}).catch(e => e.response)
if (res.status !== 413) {
throw new Error(`Response ${res.status}`)
Expand Down

0 comments on commit c281b50

Please sign in to comment.