Commit 2fc1ad1
Use temp folder for GDS test certificate storage (#3368)
* Initial plan
* Use Path.GetTempPath() for GDS test certificate storage instead of %LocalApplicationData%
This change addresses the issue where GDS tests could fail when stale
certificates from previous test runs existed in %LocalApplicationData%/OPC.
Changes:
- Update GlobalDiscoveryTestClient.cs to use Path.GetTempPath() for programmatic config
- Update GlobalDiscoveryTestServer.cs to use Path.GetTempPath() for programmatic config
- Update ServerConfigurationPushTestClient.cs to use Path.GetTempPath() for programmatic config
- Update CertificateGroupTests.cs to use Path.GetTempPath() directly
Note: XML config files (used only by net48 on Windows) remain unchanged as they
use %LocalApplicationData% which works correctly on Windows and clears properly.
Co-authored-by: romanett <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: romanett <[email protected]>1 parent e297529 commit 2fc1ad1
File tree
4 files changed
+4
-4
lines changed- Tests/Opc.Ua.Gds.Tests
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments