Skip to content

Commit 494055d

Browse files
committed
Ping exception should set OriginalException as InnerException
1 parent 171b8fc commit 494055d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/Tests/Nest.Tests.Integration/Exceptions/ElasticsearchExceptionTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public void ConnectionPool_SingleNode_PingExceptionThrowsMaxRetry()
124124
client.RootNodeInfo(r => r.RequestConfiguration(c => c.ConnectTimeout(2000)));
125125
});
126126
e.Should().NotBeNull();
127+
Assert.Pass(e.ToString());
127128
}
128129

129130
[Test]

0 commit comments

Comments
 (0)