Commit b7ac5c7
committed
test(connect): isolate claude-desktop config path on Windows
On Windows, ConfigPath ignores the homeDir override for claude-desktop
and vscode (it reads %APPDATA%), so the no-key and with-key Claude Desktop
bridge tests both wrote to the same real APPDATA\Claude path. The no-key
test ran first and created the entry; the with-key test then hit
`already_exists` (force=false) and never wrote the apikey, failing the
assertion on the windows-amd64 runner.
Pin %APPDATA% under the per-test temp dir in the test-service helpers,
mirroring the existing %LOCALAPPDATA% line, so every client's config path
is isolated per-test on Windows. No-op on macOS/Linux.
Related MCP-24791 parent 0df7d44 commit b7ac5c7
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
0 commit comments