From 34ec6fa99aba4b25dad93060be944da11f462f5a Mon Sep 17 00:00:00 2001
From: Dmitry Ivanov <ivadmi5@gmail.com>
Date: Wed, 23 Aug 2023 16:45:21 +0300
Subject: [PATCH] feat(tests): Explain the reason why LDAP test might fail
 locally

NO_DOC=internal
NO_TEST=internal
NO_CHANGELOG=internal
---
 test/box-luatest/ldap_auth_test.lua | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/test/box-luatest/ldap_auth_test.lua b/test/box-luatest/ldap_auth_test.lua
index f57c62f13b..842e2a4e08 100644
--- a/test/box-luatest/ldap_auth_test.lua
+++ b/test/box-luatest/ldap_auth_test.lua
@@ -1,3 +1,15 @@
+-- NOTE: this test expects to see `glauth` in $PATH!
+-- It's an LDAP server we use for this test.
+-- You can have it downloaded by CMake during project configuration:
+--
+-- ```shell
+-- cmake -DENABLE_GLAUTH_DOWNLOAD=ON
+-- ```
+--
+-- Although we could enable this test depending on the ability
+-- to execute `glauth`, we'd like to run it unconditionally,
+-- otherwise there's a non-zero chance of LDAP breaking silently.
+
 local net = require('net.box')
 local server = require('luatest.server')
 local t = require('luatest')
-- 
GitLab