Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/thread_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ThreadTest < TinyTds::TestCase
result = client.execute "waitfor delay '00:00:#{delay}'; select db_name()"
result.each { |r| puts r }
rescue TinyTds::Error => e
if e.message == "Adaptive Server connection timed out"
if e.message.include?("connection timed out")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the new error message?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is TDS server timeout on Windows, but still Adaptive Server on Linux.

exception = true
end
end
Expand Down