You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Tests/Tests/ClientConcepts/ConnectionPooling/Exceptions/UnexpectedExceptions.doc.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -72,9 +72,9 @@ [U] public async Task WillFailOverKnowConnectionExceptionButNotUnexpected()
72
72
varaudit=newAuditor(()=>VirtualClusterWith
73
73
.Nodes(10)
74
74
#if DOTNETCORE
75
-
.ClientCalls(r =>r.OnPort(9200).FailAlways(newSystem.Net.Http.HttpRequestException("recover")))// <1> calls on 9200 set up to throw a `HttpRequestException`
75
+
.ClientCalls(r =>r.OnPort(9200).FailAlways(newSystem.Net.Http.HttpRequestException("recover")))// <1> calls on 9200 set up to throw a `HttpRequestException` or a `WebException`
76
76
#else
77
-
.ClientCalls(r =>r.OnPort(9200).FailAlways(newSystem.Net.WebException("recover")))// <1> calls on 9200 set up to throw a `HttpRequestException`
0 commit comments