diff --git a/test/app-luatest/http_client_test.lua b/test/app-luatest/http_client_test.lua
index b45cc9cc21f52ab35939be9c589f91a4975baa44..00dc1f1bfee5e2487618b565cd35628d7007d119 100644
--- a/test/app-luatest/http_client_test.lua
+++ b/test/app-luatest/http_client_test.lua
@@ -5,6 +5,10 @@ local uri = require('uri')
 local os = require('os')
 local t = require('luatest')
 
+-- FIXME(gh-8718): The test fails if Lua JIT is enabled.
+jit.off()
+jit.flush()
+
 local g = t.group('http_client', {
     {sock_family = 'AF_INET'},
     {sock_family = 'AF_UNIX'},