test (ci): custom-parser.test.js
is randomly failing with a 503 Service Unavailable
#3626
Closed
2 tasks done
Prerequisites
Issue
Hello.
Following this #3622 (comment) - Failed CI Run Log.
This test is randomly failing on fastify CI runs returning a 503 HTTP Status code instead of the expected 200 at line 1381.
fastify/test/custom-parser.test.js
Lines 1317 to 1386 in ee795d3
Possible fix: darkgl0w@e8a138c
Switching from
simple-get
toawait fastify.inject
, usingteardown()
to close the server, and making use of anasync/await
tap callback seems to solve the issue (needs to be confirmed by a couple runs on fastify CI).The text was updated successfully, but these errors were encountered: