File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -672,7 +672,7 @@ class ResultTest < TinyTds::TestCase
672
672
end
673
673
674
674
it 'should flush info messages before raising error in cases of timeout' do
675
- @client = new_connection timeout : 1 , port : 1234 , message_handler : Proc . new { |m | messages << m }
675
+ @client = new_connection timeout : 1 , message_handler : Proc . new { |m | messages << m }
676
676
action = lambda { @client . execute ( "print 'hello'; waitfor delay '00:00:02'" ) . do }
677
677
messages . clear
678
678
assert_raise_tinytds_error ( action ) do |e |
@@ -684,7 +684,7 @@ class ResultTest < TinyTds::TestCase
684
684
end
685
685
686
686
it 'should print info messages before raising error in cases of timeout' do
687
- @client = new_connection timeout : 1 , port : 1234 , message_handler : Proc . new { |m | messages << m }
687
+ @client = new_connection timeout : 1 , message_handler : Proc . new { |m | messages << m }
688
688
action = lambda { @client . execute ( "raiserror('hello', 1, 1) with nowait; waitfor delay '00:00:02'" ) . do }
689
689
messages . clear
690
690
assert_raise_tinytds_error ( action ) do |e |
You can’t perform that action at this time.
0 commit comments