File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Release/tests/functional/websockets/client Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,18 @@ TEST(sni_with_older_server_test)
162
162
}
163
163
164
164
// WinRT doesn't expose option for disabling.
165
- TEST (disable_sni)
165
+ // No stable server is available to reliably test this.
166
+ // The configuration below relies on a timeout in the success case.
167
+ TEST (disable_sni, " Ignore" , " Manual" )
166
168
{
167
169
websocket_client_config config;
170
+ config.set_server_name (" expired.badssl.com" );
168
171
config.disable_sni ();
169
172
websocket_client client (config);
170
173
171
174
try
172
175
{
173
- client.connect (U (" wss://swordsoftruth .com" )).wait ();
176
+ client.connect (U (" wss://badssl .com" )).wait ();
174
177
175
178
// Should never be reached.
176
179
VERIFY_IS_TRUE (false );
@@ -239,3 +242,4 @@ TEST(cert_expired)
239
242
}}}}
240
243
241
244
#endif
245
+
You can’t perform that action at this time.
0 commit comments