Temp fix for the race condition during the tests. (#7021)
* temp fixing the race condition during the tests * making db tests sequential
This commit is contained in:
Родитель
4d4f7dc1ec
Коммит
0d2fd603a2
|
@ -20,6 +20,9 @@ using Xunit.Abstractions;
|
|||
|
||||
namespace Microsoft.ML.Tests
|
||||
{
|
||||
[CollectionDefinition(nameof(NoParallelizationDefinition), DisableParallelization = true)]
|
||||
public class NoParallelizationDefinition { }
|
||||
[Collection(nameof(NoParallelizationDefinition))]
|
||||
public class DatabaseLoaderTests : BaseTestClass
|
||||
{
|
||||
public DatabaseLoaderTests(ITestOutputHelper output)
|
||||
|
|
|
@ -12,6 +12,9 @@ using Xunit.Abstractions;
|
|||
|
||||
namespace Microsoft.ML.Tests.Transformers
|
||||
{
|
||||
[CollectionDefinition(nameof(NoParallelizationDefinition), DisableParallelization = true)]
|
||||
public class NoParallelizationDefinition { }
|
||||
[Collection(nameof(NoParallelizationDefinition))]
|
||||
public sealed class WordEmbeddingsTests : TestDataPipeBase
|
||||
{
|
||||
public WordEmbeddingsTests(ITestOutputHelper helper)
|
||||
|
|
Загрузка…
Ссылка в новой задаче