summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-10-17 17:47:05 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-10-17 17:47:05 +0700
commit84c63f227ba6bbd600ca985b0c1c135cfe08879a (patch)
tree5b5cb00cb9302405f36d8f0f58a44de6a7262932
parentSwitch to 4.5.1 as fallback target (diff)
downloadBouncyCastle.NET-ed25519-84c63f227ba6bbd600ca985b0c1c135cfe08879a.tar.xz
Mark some tests NonParallelizable
-rw-r--r--crypto/test/src/asn1/test/ASN1IntegerTest.cs2
-rw-r--r--crypto/test/src/asn1/test/MiscTest.cs1
-rw-r--r--crypto/test/src/crypto/test/SP80038GTest.cs8
3 files changed, 5 insertions, 6 deletions
diff --git a/crypto/test/src/asn1/test/ASN1IntegerTest.cs b/crypto/test/src/asn1/test/ASN1IntegerTest.cs
index 10570c800..24fec9325 100644
--- a/crypto/test/src/asn1/test/ASN1IntegerTest.cs
+++ b/crypto/test/src/asn1/test/ASN1IntegerTest.cs
@@ -3,13 +3,13 @@
 using NUnit.Framework;
 
 using Org.BouncyCastle.Math;
-using Org.BouncyCastle.Utilities;
 using Org.BouncyCastle.Utilities.Encoders;
 using Org.BouncyCastle.Utilities.Test;
 
 namespace Org.BouncyCastle.Asn1.Tests
 {
     [TestFixture]
+    [NonParallelizable] // Environment.SetEnvironmentVariable
     public class Asn1IntegerTest
         : SimpleTest
     {
diff --git a/crypto/test/src/asn1/test/MiscTest.cs b/crypto/test/src/asn1/test/MiscTest.cs
index 475055f2d..96dfa4c3f 100644
--- a/crypto/test/src/asn1/test/MiscTest.cs
+++ b/crypto/test/src/asn1/test/MiscTest.cs
@@ -11,6 +11,7 @@ using Org.BouncyCastle.Utilities.Test;
 namespace Org.BouncyCastle.Asn1.Tests
 {
     [TestFixture]
+    [NonParallelizable] // Environment.SetEnvironmentVariable
     public class MiscTest
         : SimpleTest
     {
diff --git a/crypto/test/src/crypto/test/SP80038GTest.cs b/crypto/test/src/crypto/test/SP80038GTest.cs
index e48d1ad4c..7d2a76474 100644
--- a/crypto/test/src/crypto/test/SP80038GTest.cs
+++ b/crypto/test/src/crypto/test/SP80038GTest.cs
@@ -1,10 +1,7 @@
+using System;
 
 using NUnit.Framework;
 
-using System;
-
-using Org.BouncyCastle.Crypto;
-using Org.BouncyCastle.Crypto.Digests;
 using Org.BouncyCastle.Crypto.Utilities;
 using Org.BouncyCastle.Crypto.Fpe;
 using Org.BouncyCastle.Crypto.Parameters;
@@ -15,7 +12,8 @@ using Org.BouncyCastle.Utilities.Test;
 namespace Org.BouncyCastle.Crypto.Tests
 {
     [TestFixture]
-	public class SP80038GTest
+    [NonParallelizable] // Environment.SetEnvironmentVariable
+    public class SP80038GTest
 	    : SimpleTest
     {
         private class FFSample