diff --git a/test/unit_test.c b/test/unit_test.c
index 149d5655287fbb2778d85729a5212b1488119ffc..4d7672094c2ac7931f58ce8003e2ff7849f35814 100644
--- a/test/unit_test.c
+++ b/test/unit_test.c
@@ -247,6 +247,7 @@ static const struct mg_callbacks CALLBACKS = {
 static const char *OPTIONS[] = {
   "document_root", ".",
   "listening_ports", LISTENING_ADDR,
+  "enable_keep_alive", "yes",
   "ssl_certificate", "build/ssl_cert.pem",
   NULL,
 };