Skip to content

Test-DbaLinkedServerConnection - Fix test failure when Named Pipes is disabled#10326

Merged
potatoqualitee merged 1 commit intodevelopmentfrom
claude/issue-10324-20260405-1702
Apr 7, 2026
Merged

Test-DbaLinkedServerConnection - Fix test failure when Named Pipes is disabled#10326
potatoqualitee merged 1 commit intodevelopmentfrom
claude/issue-10324-20260405-1702

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

Fix test failure when Named Pipes is not enabled.

Forces 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.

Closes #10324

Generated with Claude Code

… 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>
@potatoqualitee potatoqualitee merged commit 4382a81 into development Apr 7, 2026
15 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-10324-20260405-1702 branch April 7, 2026 18:45
@potatoqualitee
Copy link
Copy Markdown
Member

very nice thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test-DbaLinkedServerConnection - Test failed if named pipe is not enabled

2 participants