summary refs log tree commit diff
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2017-08-17 17:15:49 -0400
committerOren Novotny <oren@novotny.org>2017-08-17 17:15:49 -0400
commit8b6cd28f240cb201c2a909a3c08c644855f183c2 (patch)
treea4bb4bd91830047656040c055cf377322d07a853
parentMerge branch 'master' into netstandard (diff)
downloadBouncyCastle.NET-ed25519-8b6cd28f240cb201c2a909a3c08c644855f183c2.tar.xz
run test under portable profile
-rw-r--r--crypto/test/src/crypto/tls/test/DtlsTestCase.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/crypto/test/src/crypto/tls/test/DtlsTestCase.cs b/crypto/test/src/crypto/tls/test/DtlsTestCase.cs
index 9161ebcac..9fa5b5846 100644
--- a/crypto/test/src/crypto/tls/test/DtlsTestCase.cs
+++ b/crypto/test/src/crypto/tls/test/DtlsTestCase.cs
@@ -1,5 +1,4 @@
-#if !PORTABLE
-using System;
+using System;
 using System.IO;
 using System.Threading;
 
@@ -146,11 +145,10 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests
                 if (!isShutdown)
                 {
                     isShutdown = true;
-                    serverThread.Interrupt();                    
-                    serverThread.Join();
+                    //serverThread.Interrupt();                    
+                    serverThread.Join(100);
                 }
             }
         }
     }
-}
-#endif
\ No newline at end of file
+}
\ No newline at end of file