Skip to content

Commit

Permalink
Update transaction_test_sqlserver.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan committed Nov 7, 2023
1 parent 877e17b commit b25b12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/transaction_test_sqlserver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class TransactionTestSQLServer < ActiveRecord::TestCase

describe "when READ_COMMITTED_SNAPSHOT is set" do
it "should use READ COMMITTED as an isolation level" do
skip "This test sometimes causes subsequent tests to fail with error 'DBPROCESS is dead or not enabled'. The test passes if run alone."
skip "This test sometimes causes subsequent tests to fail with error 'DBPROCESS is dead or not enabled'. The test passes if run alone." if ENV["CI"]

connection.execute "ALTER DATABASE [#{connection.current_database}] SET ALLOW_SNAPSHOT_ISOLATION ON"
connection.execute "ALTER DATABASE [#{connection.current_database}] SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK IMMEDIATE"
Expand Down

0 comments on commit b25b12e

Please sign in to comment.