sqlinsight-pro/tests/SQLInsight.Collectors.Tests
Søren Eggert Lundsteen Olsen be039a6f73 Review 1.4: AX reads put the agent's session settings back
AxSql.Reset ran SET LOCK_TIMEOUT -1 and READ COMMITTED after every AX read
(and after the AX detection in discovery). The collectors of an instance
share one connection, so every collector after the AX ones waited on locks
without limit instead of the agent's 5 s, and no longer read uncommitted.
Reset now restores the agent's own settings, from one place
(Core.Instances.AgentSession) that SqlConnectionFactory.SessionSettings also
uses. The AX reads themselves are unchanged: READ COMMITTED (or SNAPSHOT)
with a 2 s lock timeout inside sp_executesql, never NOLOCK.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 14:14:24 +02:00
..
SqlScripts Review 1.4: SQL Scripts for Dynamics AX in the 1.3 structure 2026-10-02 14:11:45 +02:00
DeadlockParserTests.cs Stop SQLInsight deadlocking itself, and stop reporting its own deadlocks 2026-10-02 07:34:59 +02:00
DiscoveryTests.cs Dynamics AX collectors: shared detector, batch jobs, number sequences and RecId 2026-10-02 13:53:34 +02:00
DynamicsAxSqlTests.cs Review 1.4: AX reads put the agent's session settings back 2026-10-02 14:14:24 +02:00
ShowplanAnalyzerTests.cs Fase 2: plan cache analysis 2026-09-29 07:40:09 +00:00
Sql2005CompatibilityTests.cs SQL Server 2005: fix agent jobs and plan analysis, guard against 2008+ syntax 2026-10-01 15:51:39 +02:00
SQLInsight.Collectors.Tests.csproj Dynamics AX collectors: shared detector, batch jobs, number sequences and RecId 2026-10-02 13:53:34 +02:00
SqlScriptTests.cs Review 1.4: SQL Scripts for Dynamics AX in the 1.3 structure 2026-10-02 14:11:45 +02:00
SqlSelectionTests.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00