From e234110c497335d0639e75f312ba0902da6f2432 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Thu, 12 Nov 2026 06:20:55 +0000
Subject: [PATCH] [#1285] Test the administration connector after MSI upgrade (#1286)

---
 .github/workflows/build.yml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index acd5e0b..e896efe 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1780,6 +1780,8 @@
           # The pre-upgrade data must still be served
           & "$root\bat\ldapsearch.bat" --hostname localhost --port 1636 --bindDN "cn=Directory Manager" --bindPassword password --useSsl --trustAll --baseDN "dc=example,dc=com" --searchScope base "(objectClass=*)" 1.1
           if ($LASTEXITCODE -ne 0) { throw "ldapsearch after upgrade failed: $LASTEXITCODE" }
+          & "$root\bat\dsconfig.bat" list-backends --hostname localhost --port 4444 --bindDN "cn=Directory Manager" --bindPassword password --trustAll --no-prompt
+          if ($LASTEXITCODE -ne 0) { throw "dsconfig after upgrade failed: $LASTEXITCODE" }
           net stop "OpenDJ Server"
           if ($LASTEXITCODE -ne 0) { throw "net stop (upgraded) failed: $LASTEXITCODE" }
       - name: Repair must leave the service registration alone

--
Gitblit v1.10.0