From 84c63f227ba6bbd600ca985b0c1c135cfe08879a Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 17 Oct 2022 17:47:05 +0700 Subject: Mark some tests NonParallelizable --- crypto/test/src/asn1/test/ASN1IntegerTest.cs | 2 +- crypto/test/src/asn1/test/MiscTest.cs | 1 + crypto/test/src/crypto/test/SP80038GTest.cs | 8 +++----- 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 -- cgit 1.4.1