From df33b9bfc2d9000fb11df7b23fe8ce5ab8fdfc64 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 9 Jul 2021 16:56:56 +0700 Subject: TLS test tweaks --- crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs | 2 +- crypto/test/src/crypto/tls/test/DtlsTestCase.cs | 4 ++-- 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(); } } -- cgit 1.4.1