Skip to content

Commit

Permalink
skip new test on non-tcp connections (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
shueybubbles committed Jan 26, 2023
1 parent 7e8da16 commit 1576f3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tds_go113_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ func TestConnectError(t *testing.T) {
if params.Encryption == msdsn.EncryptionRequired {
t.Skip("Unable to test connection to IP for servers that expect encryption")
}
p, ok := params.Parameters["protocol"]
if ok && p != "tcp" {
t.Skip("Only works for tcp errors")
}
// clear instance name, so we don't tease SQL Server Browser.
params.Instance = ""

Expand Down

0 comments on commit 1576f3e

Please sign in to comment.