tests: patchwork: Fix it.
authorMathieu Othacehe <othacehe@gnu.org>
Sun, 18 Apr 2021 07:47:44 +0000 (09:47 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Sun, 18 Apr 2021 07:52:18 +0000 (09:52 +0200)
commit3b5c4e6fb285e29a6d348732852e0407c28e30f4
tree79165a92e33e930584201bc34b63f687c5301fdd
parentda28f04a5fa2dba2e153c3af0908ab76c98b6811
tests: patchwork: Fix it.

The "http-get" test is sometimes failing because the Web server is not yet
initialized and returns the 500 error code.

Use the retry-or-error procedure, like in the tailon test to do a few retries.

* gnu/tests/web.scm (run-tailon-test): Move "retry-or-error" procedure to the
top level and adapt its call.
(run-patchwork-test): Use it.
gnu/tests/web.scm