Skip to content

Redefine isolation level method as MSSSQL resets isolation after transaction#1324

Merged
aidanharan merged 3 commits intomainfrom
coerce_with_default_isolation_level_test
Apr 4, 2025
Merged

Redefine isolation level method as MSSSQL resets isolation after transaction#1324
aidanharan merged 3 commits intomainfrom
coerce_with_default_isolation_level_test

Conversation

@aidanharan
Copy link
Copy Markdown
Contributor

Redefine isolation level method as MSSSQL resets isolation level after transaction unlike MySQL/PostgreSQL.

https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/14250370905/job/39941435835

 1) Failure:
TransactionIsolationTest#test_0003_default_isolation_level [/usr/local/bundle/bundler/gems/rails-e0452e80137c/activerecord/test/cases/transaction_isolation_test.rb:80]:
Expected: 1
  Actual: 2

@aidanharan aidanharan marked this pull request as ready for review April 4, 2025 15:52
@aidanharan aidanharan merged commit da6238c into main Apr 4, 2025
6 checks passed
@aidanharan aidanharan deleted the coerce_with_default_isolation_level_test branch April 4, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant