Skip to content

Commit a717e83

Browse files
committed
Debug
1 parent 18848ca commit a717e83

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docker-compose.ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ services:
99
build:
1010
context: .
1111
dockerfile: Dockerfile.ci
12-
command: wait-for sqlserver:1433 -- bundle exec rake test TEST_FILES="test/cases/temp_test_sqlserver.rb" TESTOPTS="-v"
12+
command: wait-for sqlserver:1433 -- bundle exec rake test TESTOPTS="-v"
1313
depends_on:
1414
- "sqlserver"

test/cases/temp_test_sqlserver.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TempTestSQLServer < ActiveRecord::TestCase
1111

1212
it "insert from one schema to another using raw SQL" do
1313
skip
14-
14+
1515
arunit_connection = Dog.lease_connection
1616
arunit2_connection = OtherDog.lease_connection
1717

@@ -31,6 +31,9 @@ class TempTestSQLServer < ActiveRecord::TestCase
3131
assert Dog.count, 1
3232
assert OtherDog.count, 0
3333

34+
puts "*** current_isolation_level 1=#{arunit_connection.send(:current_isolation_level)}"
35+
puts "*** current_isolation_level 2=#{arunit2_connection.send(:current_isolation_level)}"
36+
3437
# Dog.transaction do
3538
# arunit_connection.transaction do
3639
assert_nothing_raised do

0 commit comments

Comments
 (0)