Commit b5ac613
committed
Make the default-switch test tolerate a configured managed SNI switch
TestDefaultAppContextSwitchValues asserted that UseManagedNetworking is false on
Windows, which fails in the managed SNI test leg now that the switch is enabled
process-wide through runtimeconfig.json. Compare the property against AppContext
instead, so the assertion still verifies that the switch is honoured and remains
unchanged when the switch is not configured.1 parent 2292593 commit b5ac613
2 files changed
Lines changed: 7 additions & 2 deletions
File tree
- eng/pipelines/ci/kerberos
- src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
0 commit comments