]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
curl: increase test timeouts
authorRoss Burton <ross.burton@arm.com>
Fri, 15 Mar 2024 14:37:37 +0000 (14:37 +0000)
committerSteve Sakoman <steve@sakoman.com>
Sun, 24 Mar 2024 18:51:17 +0000 (08:51 -1000)
commitd105cc0dae1fcca285c08f33df7888c68fb0dc2f
treeedf129cc28db43aa70b30711515d3dc5e55d4103
parent000bedc1c95e033f8a479a18a47dc66a0609d596
curl: increase test timeouts

We often see multiple curl tests fail during ptest runs, the actual test
varies but the output is like this:

  FAIL: 337: protoc!
  There was no content at all in the file log/3/server.input.
  Server glitch? Total curl failure? Returned: 28

Error code 28 is CURLE_OPERATION_TIMEDOUT, so this is almost certainly
due to a loaded machine resulting in the tests running slowly.

It is notable that the test runner explicitly passes --max-time=13 to
curl, so experiment and change this to 600 to see if this solves the
problem.

[ YOCTO #15268 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2e9ec1bf97a7e36a05a247dbc671ecca584205f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/curl/curl/no-test-timeout.patch [new file with mode: 0644]
meta/recipes-support/curl/curl_8.4.0.bb