Skip to content

Add integration tests for ApplicationIntent=ReadOnly behavior#5

Open
DAlperin wants to merge 1 commit intomz_changesfrom
readonly-integration-tests
Open

Add integration tests for ApplicationIntent=ReadOnly behavior#5
DAlperin wants to merge 1 commit intomz_changesfrom
readonly-integration-tests

Conversation

@DAlperin
Copy link
Copy Markdown
Member

Add a 2-node SQL Server Availability Group Docker setup and integration tests verifying that readonly connections work correctly. Standalone tests confirm ReadOnly connections succeed via both ADO connection string and the Config API. AG tests verify that SELECT succeeds on a readable secondary while INSERT, UPDATE, DELETE, and DDL are all rejected.

Also fixes cert file permissions in the 2022 dockerfile that prevented SQL Server from starting (mssql user couldn't read /certs/).

@DAlperin DAlperin force-pushed the readonly-integration-tests branch 2 times, most recently from c38f4ef to eb7103a Compare March 16, 2026 19:10
Add a 2-node SQL Server Availability Group Docker setup and integration
tests verifying that readonly connections work correctly. Standalone tests
confirm ReadOnly connections succeed via both ADO connection string and the
Config API. AG tests verify that SELECT succeeds on a readable secondary
while INSERT, UPDATE, DELETE, and DDL are all rejected.

Also fixes cert file permissions in the 2022 dockerfile that prevented
SQL Server from starting (mssql user couldn't read /certs/).
@DAlperin DAlperin force-pushed the readonly-integration-tests branch from eb7103a to be27c49 Compare March 16, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant