sqlinsight-pro/tests/SQLInsight.IntegrationTests
Søren Eggert Lundsteen Olsen 473a7d0be3 Replication from the distributor (8f)
On a distributor, a 15-minute collector reads each distribution agent's
latest run (status, latency, message) and replication errors the last
day from the distribution database. That needs SELECT on
MSdistribution_agents, MSdistribution_history and MSrepl_errors, which
the agent does not have by default (never the replicated commands);
without it SQLI-REPL-001 (agent failed/retrying, High) and SQLI-REPL-002
(latency > 5 min, Medium) are "not measurable" with the exact grant, and
"not relevant" elsewhere. Shown on the instance page and in
GET /api/v1/instances/{name}/replication. Tested against a real
distributor set up in the SQL 2022 container.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 10:48:46 +02:00
..
ActivityTests.cs Long and large transactions and long-running statements (8b, 8d) 2026-10-02 10:36:41 +02:00
AgentPipelineTests.cs Fase 4: community and local rules written as SQL 2026-09-29 10:23:01 +00:00
AgentSession.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
CollectorTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
ConfigurationPageTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
CustomRuleIntegrationTests.cs Fase 4: community and local rules written as SQL 2026-09-29 10:23:01 +00:00
ErrorLogTests.cs SQL Server error log without elevated rights (8a) 2026-10-02 10:30:41 +02:00
HighAvailabilityTests.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00
HubApiTests.cs Fase 3: signed updates of rule packs and the application 2026-09-29 09:19:41 +00:00
HubEndToEndTests.cs Fase 4: experience across customers 2026-09-29 10:33:37 +00:00
HubFixture.cs Fase 3: Hub portal for vendor staff 2026-09-29 08:58:34 +00:00
HubInsightTests.cs Fase 4: experience across customers 2026-09-29 10:33:37 +00:00
HubMaintenanceTests.cs Fase 3: data processing, hub retention and deployment 2026-09-29 09:29:20 +00:00
HubPortalSupportTests.cs Hub: support case numbers, customer case API, mail, support report 2026-10-01 11:33:55 +02:00
HubPortalTests.cs Fase 3: Hub portal for vendor staff 2026-09-29 08:58:34 +00:00
HubSupportApiTests.cs Hub: support case numbers, customer case API, mail, support report 2026-10-01 11:33:55 +02:00
HubSupportEndToEndTests.cs Customers file support cases in SQLInsight Web and follow their status 2026-10-01 11:34:06 +02:00
HubSupportLogicTests.cs Hub: support case numbers, customer case API, mail, support report 2026-10-01 11:33:55 +02:00
InstanceProbeTests.cs Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
LeastPrivilegeTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
NavigationTests.cs Menu in foldable groups 2026-10-02 09:17:43 +02:00
NotificationIntegrationTests.cs Fase 2: notifications by e-mail, Teams and webhook 2026-09-29 08:08:06 +00:00
PrivilegeTests.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
ReplicationTests.cs Replication from the distributor (8f) 2026-10-02 10:48:46 +02:00
ReportTests.cs Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
RepositoryTests.cs Stop SQLInsight deadlocking itself, and stop reporting its own deadlocks 2026-10-02 07:34:59 +02:00
SQLInsight.IntegrationTests.csproj Fase 4: management and compliance reports as PDF 2026-09-29 10:09:10 +00:00
SqlServerFixture.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00
SupportApiTests.cs Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
TempdbTests.cs tempdb and version store (8c) 2026-10-02 10:42:38 +02:00
TimeWindowAnalysisTests.cs Explain and assess measurements for the customer 2026-10-02 08:57:10 +02:00
UpdateIntegrationTests.cs Fase 3: signed updates of rule packs and the application 2026-09-29 09:19:41 +00:00
WaitSamplingTests.cs Wait type drill-down with active session sampling 2026-10-02 08:50:31 +02:00
WebApiTests.cs Separate "check by hand" from "not relevant" for version-gated rules 2026-10-02 09:59:50 +02:00
WebSupportTests.cs Support cases through the API: create, read and close 2026-10-02 09:47:58 +02:00
WebTests.cs Rules the version does not support are "not applicable", not "not measurable" 2026-10-01 16:05:39 +02:00