You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
E2E test coverage for package install workflow #565
Part of #561 (Make DocumentDB usable from package install)
Problem
The current CI tests verify that packages build and install, but do not verify that a user can actually use DocumentDB after installing the packages. The existing test-gateway-install-entrypoint.sh tests run the emulator entrypoint (Docker path), not the documentdb-setup CLI (package path).
Solution
Add E2E test coverage that simulates the real user journey:
Start from a clean OS (Debian/RHEL)
Install PostgreSQL from PGDG
Install the two DocumentDB packages (extension + gateway)
Run documentdb-setup --username <user> --password <pass>
Start the gateway
Connect with mongosh and perform insert + query
Verify PostgreSQL GUCs match expected values (behavioral parity with Docker)
Test Assertions
All package contents present (/usr/bin/documentdb-setup, /usr/share/documentdb/scripts/, etc.)
documentdb-setup completes without error
PostgreSQL GUCs match Docker emulator:
documentdb.enableBackgroundWorker = on
documentdb.indexBuildsScheduledOnBgWorker = off
ssl = off
listen_addresses = localhost
Extended RUM GUCs when library is available
HBA has TCP localhost entry
documentdb PG role exists
Gateway connects and accepts mongosh connections
CRUD round-trip (insert + findOne) succeeds
Extensions documentdb_core and documentdb are installed
Platforms
DEB: Debian trixie (verified locally)
RPM: RHEL 8 + RHEL 9 (deferred to CI -- requires RHEL base images)
👋 @guanzhousongmicrosoft — this issue has been assigned for 29 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
👋 @guanzhousongmicrosoft — this issue has been assigned for 15 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
Delivered on main: packaging/test_packages/ contains the package-install E2E infrastructure (deb + rhel-8/9 install entrypoints, test_gateway.py install verification), and the package build workflows exercise it — build_deb_packages.yml runs build_gateway_packages.sh --test-clean-install per (os, pg) matrix leg, so every PR that touches packaging gets a clean-install E2E gate. Closing as completed.
Activity
documentdb-triage-tool commentedon May 30, 2026
👋 @guanzhousongmicrosoft — this issue has been assigned for 29 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jun 13, 2026
👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jun 28, 2026
👋 @guanzhousongmicrosoft — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jul 13, 2026
👋 @guanzhousongmicrosoft — this issue has been assigned for 15 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
guanzhousongmicrosoft commentedon Jul 25, 2026
Delivered on
main:packaging/test_packages/contains the package-install E2E infrastructure (deb + rhel-8/9 install entrypoints,test_gateway.pyinstall verification), and the package build workflows exercise it —build_deb_packages.ymlrunsbuild_gateway_packages.sh --test-clean-installper (os, pg) matrix leg, so every PR that touches packaging gets a clean-install E2E gate. Closing as completed.