diff options
author | Lakshmi Priya Sekar <Priya91@users.noreply.github.com> | 2018-01-18 02:30:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 02:30:01 +0300 |
commit | bd90a268fb11859c849f64cac56a475e103df754 (patch) | |
tree | 31cb4ff59fae8895f3e199be291c88f9c2cdb20d | |
parent | 67d240ed07342544cd5c09d1765952fe8c9d9036 (diff) | |
parent | 07e68c455f6b078da629dcf1cebbacc5822e5888 (diff) |
Merge pull request #26392 from saurabh500/issue26382
Remove assert and log the elapsed time for the test
-rw-r--r-- | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs b/src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs index 4611beeb71..381a5ec6cd 100644 --- a/src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs +++ b/src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs @@ -107,7 +107,8 @@ namespace System.Data.SqlClient.Tests } int threshold = (timeoutSec + 1) * 1000; - Assert.True(theMax < threshold); + + Console.WriteLine($"ConnectionTimeoutTestWithThread: Elapsed Time {theMax} and threshold {threshold}"); } public class ConnectionWorker |