summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-09 16:56:56 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-09 16:56:56 +0700
commitdf33b9bfc2d9000fb11df7b23fe8ce5ab8fdfc64 (patch)
tree491dc0d943b1d68715dd3c34d0ef51921f93c255
parentTest for long inputs (diff)
downloadBouncyCastle.NET-ed25519-df33b9bfc2d9000fb11df7b23fe8ce5ab8fdfc64.tar.xz
TLS test tweaks
-rw-r--r--crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs2
-rw-r--r--crypto/test/src/crypto/tls/test/DtlsTestCase.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs b/crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs
index bc99ccc63..43726c70c 100644
--- a/crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs
+++ b/crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs
@@ -85,7 +85,7 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests
                 }
                 catch (Exception e)
                 {
-                    Console.Error.WriteLine(e.StackTrace);
+                    Console.Error.WriteLine(e);
                 }
             }
 
diff --git a/crypto/test/src/crypto/tls/test/DtlsTestCase.cs b/crypto/test/src/crypto/tls/test/DtlsTestCase.cs
index 5e43337f4..1cea4bfe2 100644
--- a/crypto/test/src/crypto/tls/test/DtlsTestCase.cs
+++ b/crypto/test/src/crypto/tls/test/DtlsTestCase.cs
@@ -94,7 +94,7 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests
         {
             if (TlsTestConfig.DEBUG)
             {
-                Console.Error.WriteLine(e.StackTrace);
+                Console.Error.WriteLine(e);
             }
         }
 
@@ -145,7 +145,7 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests
                 if (!isShutdown)
                 {
                     isShutdown = true;
-                    serverThread.Interrupt();
+                    //serverThread.Interrupt();
                     serverThread.Join();
                 }
             }