summary refs log tree commit diff
diff options
context:
space:
mode:
-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();
                 }
             }