Commit 9a25126
Test-DbaLinkedServerConnection - Fix test failure when Named Pipes is disabled
Force TCP/IP by specifying @datasrc=N'tcp:$target' when creating the linked
server in test setup. Without this, MSOLEDBSQL defaults to Named Pipes which
fails in environments where Named Pipes is not enabled.
(do Test-DbaLinkedServerConnection)
Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>1 parent 8987045 commit 9a25126
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments